mirror of https://github.com/sipwise/db-schema.git
parent
b60a5410f6
commit
f57d33b1c2
@ -0,0 +1,2 @@
|
||||
use accounting;
|
||||
alter table prepaid_costs drop column timestamp;
|
||||
@ -0,0 +1,5 @@
|
||||
use accounting;
|
||||
|
||||
alter table prepaid_costs add column timestamp timestamp not null;
|
||||
update prepaid_costs set timestamp = now();
|
||||
alter table prepaid_costs add key (timestamp);
|
||||
Loading…
Reference in new issue