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;