mirror of https://github.com/sipwise/db-schema.git
Change-Id: I00f8f5604b99c831ff737156a24aecf39c6d88c5 (cherry picked from commitchanges/63/30363/1dbf2accf23) (cherry picked from commitcb9d4282aa)
parent
37b8d6ccbb
commit
31d0fa3eb4
@ -0,0 +1,9 @@
|
||||
SET autocommit=0;
|
||||
|
||||
USE billing;
|
||||
|
||||
alter table billing.billing_profiles change terminate_timestamp terminate_timestamp timestamp null default null;
|
||||
|
||||
update billing.billing_profiles set terminate_timestamp = null where terminate_timestamp = '0000-00-00 00:00:00';
|
||||
|
||||
commit;
|
||||
@ -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 change terminate_timestamp terminate_timestamp timestamp not null default '0000-00-00 00:00:00';
|
||||
|
||||
commit;
|
||||
Loading…
Reference in new issue