mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-21 07:08:45 +05:00
Added move feature(to migrate data from one db to another) and updated GetTPIds , IsDBempty and the versioning accordingly
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user