diff --git a/db_scripts/diff/15548.down b/db_scripts/diff/15548.down new file mode 100644 index 00000000..6f8734cd --- /dev/null +++ b/db_scripts/diff/15548.down @@ -0,0 +1,9 @@ +SET autocommit=0; + +USE billing; + +alter table billing.billing_profiles modify terminate_timestamp timestamp null default null; + +update billing.billing_profiles set terminate_timestamp = null where terminate_timestamp = '0000-00-00 00:00:00'; + +commit; diff --git a/db_scripts/diff/15548.up b/db_scripts/diff/15548.up new file mode 100644 index 00000000..c00fa86e --- /dev/null +++ b/db_scripts/diff/15548.up @@ -0,0 +1,9 @@ +set autocommit=0; + +use billing; + +update billing.billing_profiles set terminate_timestamp = '0000-00-00 00:00:00' where terminate_timestamp is null; + +alter table billing.billing_profiles modify terminate_timestamp timestamp not null default '0000-00-00 00:00:00'; + +commit;