fix update bug
@@ -113,7 +113,7 @@ ALTER TABLE `BaremetalHostCfgVO` ADD COLUMN `cloneIso` tinyint(1) unsigned NOT N
ALTER TABLE AliyunSnapshotVO DROP INDEX snapshotId;
-ALTER TABLE VolumeEO DROP FOREIGN KEY fkVolumeEOPrimaryStorageEO;
-
UPDATE AliyunDiskVO SET diskType='data' WHERE diskType='DATA';
UPDATE AliyunDiskVO SET diskType='system' WHERE diskType='SYSTEM';
+
+ALTER TABLE VolumeEO DROP FOREIGN KEY fkVolumeEOPrimaryStorageEO;
