Skip to content

Commit

Permalink
Remove unused merchant_id field (#2212)
Browse files Browse the repository at this point in the history
  • Loading branch information
machikoyasuda authored Jul 10, 2024
2 parents a1d718c + 50ce866 commit 650537a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
17 changes: 17 additions & 0 deletions benefits/core/migrations/0012_remove_transitagency_merchant_id.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 5.0.6 on 2024-07-10 23:27

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
("core", "0011_move_enrollment_success_template_field"),
]

operations = [
migrations.RemoveField(
model_name="transitagency",
name="merchant_id",
),
]
3 changes: 0 additions & 3 deletions benefits/core/migrations/local_fixtures.json
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@
"short_name": "MST (local)",
"long_name": "Monterey-Salinas Transit (local)",
"agency_id": "mst",
"merchant_id": "mst",
"info_url": "https://mst.org/benefits",
"phone": "888-678-2871",
"active": true,
Expand All @@ -363,7 +362,6 @@
"short_name": "SacRT (local)",
"long_name": "Sacramento Regional Transit (local)",
"agency_id": "sacrt",
"merchant_id": "sacrt",
"info_url": "https://sacrt.com/",
"phone": "916-321-2877",
"active": true,
Expand All @@ -385,7 +383,6 @@
"short_name": "SBMTD (local)",
"long_name": "Santa Barbara MTD (local)",
"agency_id": "sbmtd",
"merchant_id": "sbmtd",
"info_url": "https://sbmtd.gov/taptoride/",
"phone": "805-963-3366",
"active": true,
Expand Down
1 change: 0 additions & 1 deletion benefits/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ class TransitAgency(models.Model):
short_name = models.TextField()
long_name = models.TextField()
agency_id = models.TextField()
merchant_id = models.TextField()
info_url = models.URLField()
phone = models.TextField()
active = models.BooleanField(default=False)
Expand Down
1 change: 0 additions & 1 deletion tests/pytest/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ def model_TransitAgency(model_PemData, model_EligibilityType, model_EligibilityV
short_name="TEST",
long_name="Test Transit Agency",
agency_id="test123",
merchant_id="test",
info_url="https://example.com/test-agency",
phone="800-555-5555",
active=True,
Expand Down

0 comments on commit 650537a

Please sign in to comment.