File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ CREATE TABLE `cloud`.`netapp_volume` (
296296 ` password` varchar (200 ) COMMENT ' password' ,
297297 ` round_robin_marker` int COMMENT ' This marks the volume to be picked up for lun creation, RR fashion' ,
298298 PRIMARY KEY (` id` ),
299- CONSTRAINT ` fk_netapp_volume__pool_id` FOREIGN KEY ` fk_netapp_volume__pool_id` (` pool_id` ) REFERENCES ` netapp_pool` (` id` ) ON DELETE CASCADE ,
299+ CONSTRAINT ` fk_netapp_volume__pool_id` FOREIGN KEY ` fk_netapp_volume__pool_id` (` pool_id` ) REFERENCES ` cloud ` . ` netapp_pool` (` id` ) ON DELETE CASCADE ,
300300 INDEX ` i_netapp_volume__pool_id` (` pool_id` )
301301) ENGINE= InnoDB DEFAULT CHARSET= utf8;
302302
@@ -315,7 +315,7 @@ CREATE TABLE `cloud`.`netapp_lun` (
315315 ` size` bigint NOT NULL COMMENT ' lun size' ,
316316 ` volume_id` bigint unsigned NOT NULL COMMENT ' parent volume id' ,
317317 PRIMARY KEY (` id` ),
318- CONSTRAINT ` fk_netapp_lun__volume_id` FOREIGN KEY ` fk_netapp_lun__volume_id` (` volume_id` ) REFERENCES ` netapp_volume` (` id` ) ON DELETE CASCADE ,
318+ CONSTRAINT ` fk_netapp_lun__volume_id` FOREIGN KEY ` fk_netapp_lun__volume_id` (` volume_id` ) REFERENCES ` cloud ` . ` netapp_volume` (` id` ) ON DELETE CASCADE ,
319319 INDEX ` i_netapp_lun__volume_id` (` volume_id` ),
320320 INDEX ` i_netapp_lun__lun_name` (` lun_name` )
321321) ENGINE= InnoDB DEFAULT CHARSET= utf8;
You can’t perform that action at this time.
0 commit comments