Added migration from action triggers to thresholds and cdrstats to stats

This commit is contained in:
edwardro22
2017-11-07 12:24:33 +00:00
committed by DanB
parent 8ed051e753
commit 86141e14b3
12 changed files with 1234 additions and 54 deletions

View File

@@ -0,0 +1,4 @@
ALTER TABLE cdrs CHANGE COLUMN `usage` `usage_old` DECIMAL(30,9);
ALTER TABLE cdrs ADD `usage` BIGINT;
UPDATE cdrs SET `usage` = `usage_old` * 1000000000 WHERE usage_old IS NOT NULL;
ALTER TABLE cdrs DROP COLUMN usage_old;