setup/db: fix schema issues, put quota stuff in cloud_usage db

Add missing column to cloud_usage

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2015-07-14 12:44:56 +05:30
parent 46931f92bc
commit 25cbdcc4f3
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ CREATE TABLE `cloud`.`saml_token` (
-- Quota
ALTER TABLE `cloud_usage`.`cloud_usage` ADD COLUMN `quota_calculated` tinyint(1) DEFAULT 0 COMMENT "quota calculation status";
CREATE TABLE IF NOT EXISTS `cloud_usage`.`quota_mapping` (
`usage_type` int(2) unsigned DEFAULT NULL,
`usage_name` varchar(255) NOT NULL COMMENT 'usage type',