Skip to content

Commit

Permalink
Remove org country field
Browse files Browse the repository at this point in the history
  • Loading branch information
norkans7 committed Jan 9, 2025
1 parent 7ffb640 commit 2040eb1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
17 changes: 17 additions & 0 deletions temba/orgs/migrations/0167_remove_org_country.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 5.1.4 on 2025-01-09 18:17

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
("orgs", "0166_clear_org_country_field"),
]

operations = [
migrations.RemoveField(
model_name="org",
name="country",
),
]
3 changes: 0 additions & 3 deletions temba/orgs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,9 +536,6 @@ class Org(SmartModel):
released_on = models.DateTimeField(null=True)
deleted_on = models.DateTimeField(null=True)

# Deprecated
country = models.ForeignKey("locations.AdminBoundary", null=True, on_delete=models.PROTECT)

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

Expand Down

0 comments on commit 2040eb1

Please sign in to comment.