Added move feature(to migrate data from one db to another) and updated GetTPIds , IsDBempty and the versioning accordingly

This commit is contained in:
edwardro22
2017-11-14 13:16:02 +00:00
committed by DanB
parent f43dd4d35d
commit c35b2a90bb
56 changed files with 4180 additions and 302 deletions

View File

@@ -1,4 +1,4 @@
ALTER TABLE cdrs CHANGE COLUMN `usage` `usage_old` DECIMAL(30,9);
ALTER TABLE cdrs CHANGE COLUMN `usage` `usage_old` DECIMAL(30);
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;