diff --git a/store/db/mysql/migration/prod/0.22/00__resource_storage_type.sql b/store/db/mysql/migration/prod/0.22/00__resource_storage_type.sql index 3d323373..918d4456 100644 --- a/store/db/mysql/migration/prod/0.22/00__resource_storage_type.sql +++ b/store/db/mysql/migration/prod/0.22/00__resource_storage_type.sql @@ -11,6 +11,6 @@ UPDATE `resource` SET `storage_type` = 'EXTERNAL', `reference` = `external_link` WHERE `external_link` IS NOT NULL AND `external_link` != ''; -ALTER TABLE `resource` - DROP COLUMN `internal_path`, - DROP COLUMN `external_link`; +ALTER TABLE `resource` DROP COLUMN `internal_path`; + +ALTER TABLE `resource` DROP COLUMN `external_link`; diff --git a/store/db/postgres/migration/prod/0.22/00__resource_storage_type.sql b/store/db/postgres/migration/prod/0.22/00__resource_storage_type.sql index 3d323373..918d4456 100644 --- a/store/db/postgres/migration/prod/0.22/00__resource_storage_type.sql +++ b/store/db/postgres/migration/prod/0.22/00__resource_storage_type.sql @@ -11,6 +11,6 @@ UPDATE `resource` SET `storage_type` = 'EXTERNAL', `reference` = `external_link` WHERE `external_link` IS NOT NULL AND `external_link` != ''; -ALTER TABLE `resource` - DROP COLUMN `internal_path`, - DROP COLUMN `external_link`; +ALTER TABLE `resource` DROP COLUMN `internal_path`; + +ALTER TABLE `resource` DROP COLUMN `external_link`; diff --git a/store/db/sqlite/migration/prod/0.22/00__resource_storage_type.sql b/store/db/sqlite/migration/prod/0.22/00__resource_storage_type.sql index 8f910aed..daa46de2 100644 --- a/store/db/sqlite/migration/prod/0.22/00__resource_storage_type.sql +++ b/store/db/sqlite/migration/prod/0.22/00__resource_storage_type.sql @@ -12,6 +12,6 @@ UPDATE resource SET storage_type = 'EXTERNAL', reference = external_link WHERE external_link IS NOT NULL AND external_link != ''; -ALTER TABLE resource - DROP COLUMN internal_path, - DROP COLUMN external_link; +ALTER TABLE resource DROP COLUMN internal_path; + +ALTER TABLE resource DROP COLUMN external_link;