Fix date format bug

This commit is contained in:
PCoder 2020-07-01 01:21:57 +05:30
parent 58377319b9
commit c339c19cfd
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class Migration(migrations.Migration):
migrations.RunSQL(
sql=["update hosting_vatrates set stop_date = '2020-06-30' where territory_codes = 'DE' and rate = '0.19'"],
reverse_sql=[
"update hosting_vatrates set stop_date = '' where stop_date = '2020-06-30' and territory_codes = 'DE' and rate = '0.19'"],
"update hosting_vatrates set stop_date = null where stop_date = '2020-06-30' and territory_codes = 'DE' and rate = '0.19'"],
),
migrations.RunSQL(
sql=[