From c339c19cfd1e78e326b983183d421442ccc83ee3 Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 1 Jul 2020 01:21:57 +0530 Subject: [PATCH] Fix date format bug --- hosting/migrations/0060_update_DE_vat_covid-19.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosting/migrations/0060_update_DE_vat_covid-19.py b/hosting/migrations/0060_update_DE_vat_covid-19.py index 2fd8418e..17c6394b 100644 --- a/hosting/migrations/0060_update_DE_vat_covid-19.py +++ b/hosting/migrations/0060_update_DE_vat_covid-19.py @@ -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=[