mirror of https://github.com/sipwise/db-schema.git
+add "hour" balance interval enum value Change-Id: Ic52ebf4af8744bf2d1f732a7aa689730e0300db5changes/35/2535/3
parent
70e828a4c4
commit
584b376584
@ -0,0 +1,7 @@
|
||||
use billing;
|
||||
|
||||
ALTER TABLE `contract_balances` DROP COLUMN `underrun_profiles`;
|
||||
ALTER TABLE `contract_balances` DROP COLUMN `underrun_lock`;
|
||||
|
||||
ALTER TABLE profile_packages CHANGE balance_interval_unit balance_interval_unit ENUM('day','week','month') NOT NULL DEFAULT 'month';
|
||||
ALTER TABLE profile_packages CHANGE timely_duration_unit timely_duration_unit ENUM('day','week','month') DEFAULT NULL;
|
||||
@ -0,0 +1,7 @@
|
||||
use billing;
|
||||
|
||||
ALTER TABLE `contract_balances` ADD COLUMN `underrun_profiles` DATETIME DEFAULT NULL AFTER `invoice_id`;
|
||||
ALTER TABLE `contract_balances` ADD COLUMN `underrun_lock` DATETIME DEFAULT NULL AFTER `underrun_profiles`;
|
||||
|
||||
ALTER TABLE profile_packages CHANGE balance_interval_unit balance_interval_unit ENUM('hour','day','week','month') NOT NULL DEFAULT 'month';
|
||||
ALTER TABLE profile_packages CHANGE timely_duration_unit timely_duration_unit ENUM('hour','day','week','month') DEFAULT NULL;
|
||||
Loading…
Reference in new issue