You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ded0cd7
Browse filesBrowse the repository at this point in the historyBrowse files
-- RBD Primary Storage pool support (commit: 406fd95d87bfcdbb282d65589ab1fb6e9fd0018a)
189
-
ALTERTABLE`storage_pool` ADD `user_info`VARCHAR( 255 ) NULL COMMENT 'Authorization information for the storage pool. Used by network filesystems' AFTER `host_address`;
189
+
ALTERTABLE`cloud`.`storage_pool` ADD `user_info`VARCHAR( 255 ) NULL COMMENT 'Authorization information for the storage pool. Used by network filesystems' AFTER `host_address`;
-- Remove the unique constraint on physical_network_id, provider_name from physical_network_service_providers
233
233
-- Because the name of this contraint is not set we need this roundabout way
234
234
-- The key is also used by the foreign key constraint so drop and recreate that one
235
-
ALTERTABLE physical_network_service_providers DROP FOREIGN KEY fk_pnetwork_service_providers__physical_network_id;
235
+
ALTERTABLE`cloud`.`physical_network_service_providers` DROP FOREIGN KEY fk_pnetwork_service_providers__physical_network_id;
236
236
237
-
SET @constraintname = (select CONCAT(CONCAT('DROP INDEX ', A.CONSTRAINT_NAME), ' ON physical_network_service_providers' )
237
+
SET @constraintname = (select CONCAT(CONCAT('DROP INDEX ', A.CONSTRAINT_NAME), ' ON cloud.physical_network_service_providers' )
238
238
frominformation_schema.key_column_usage A
239
239
JOINinformation_schema.key_column_usage B ONB.table_name='physical_network_service_providers'ANDB.COLUMN_NAME='provider_name'ANDA.COLUMN_NAME='physical_network_id'ANDB.CONSTRAINT_NAME=A.CONSTRAINT_NAME
@@ -243,7 +243,7 @@ PREPARE stmt1 FROM @constraintname;
243
243
EXECUTE stmt1;
244
244
DEALLOCATE PREPARE stmt1;
245
245
246
-
AlTERTABLE physical_network_service_providers ADD CONSTRAINT`fk_pnetwork_service_providers__physical_network_id`FOREIGN KEY (`physical_network_id`) REFERENCES`physical_network`(`id`) ON DELETE CASCADE;
246
+
AlTERTABLE`cloud`.`physical_network_service_providers` ADD CONSTRAINT`fk_pnetwork_service_providers__physical_network_id`FOREIGN KEY (`physical_network_id`) REFERENCES`physical_network`(`id`) ON DELETE CASCADE;
247
247
UPDATE`cloud`.`configuration`SET description='In second, timeout for creating volume from snapshot'WHERE name='create.volume.from.snapshot.wait';
248
248
249
249
ALTERTABLE`cloud`.`data_center` ADD COLUMN `is_local_storage_enabled` tinyint NOT NULL DEFAULT 0 COMMENT 'Is local storage offering enabled for this data center; 1: enabled, 0: not';
0 commit comments