MT#20639 billing.contacts "status" column

+_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
changes/51/9151/5
Rene Krenn 9 years ago
parent 9d04761fe4
commit 41526d4a17

@ -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…
Cancel
Save