mirror of https://github.com/sipwise/db-schema.git
Change-Id: I00f8f5604b99c831ff737156a24aecf39c6d88c5
(cherry picked from commit dc68e3a35a)
changes/55/30355/2
parent
dc24f42920
commit
1207ac9042
@ -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;
|
||||||
@ -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;
|
||||||
Loading…
Reference in new issue