Skip to content

Commit 745fc80

Browse files
committed
No blank iso3
1 parent f1aefea commit 745fc80

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/migrations/0165_auto_20230424_1725.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ class Migration(migrations.Migration):
1111
]
1212

1313
operations = [
14+
migrations.RunSQL(
15+
sql=[("update api_country set iso3=null where iso3='';")],
16+
reverse_sql=[("update api_country set iso3=null where iso3='';")],
17+
),
1418
migrations.AddField(
1519
model_name='appealdocument',
1620
name='description',

0 commit comments

Comments
 (0)