mirror of https://github.com/sipwise/db-schema.git
+_not_replicated, as there can be hundred k's
records (remember a new contact is created for every
subscriber). as mediator copies contact gpp columns
into the cdr, "ALTER contacts" will likely block mediator.
Change-Id: I678291936a03963fd56cfbb6e9f1b2e13e2b05a4
(cherry picked from commit 41526d4a17)
changes/82/10282/1
parent
9b4b05851e
commit
7cbca92bce
@ -0,0 +1,5 @@
|
||||
SET sql_log_bin=0;
|
||||
USE billing;
|
||||
|
||||
ALTER TABLE contacts DROP COLUMN terminate_timestamp;
|
||||
ALTER TABLE contacts DROP COLUMN status;
|
||||
@ -0,0 +1,6 @@
|
||||
SET sql_log_bin=0;
|
||||
USE billing;
|
||||
|
||||
ALTER TABLE contacts
|
||||
ADD COLUMN `status` enum('active','terminated') NOT NULL DEFAULT 'active',
|
||||
ADD COLUMN `terminate_timestamp` timestamp NULL DEFAULT NULL;
|
||||
Loading…
Reference in new issue