Files
Aurora.3/SQL/migrate/V022__cargo_schemafix.sql
Werner ad1833815c Adds a SQL migration to fix a oversight (#4623)
Adds a SQL migration to allow the path_old and suppliers_old in the cargo_items table to be nulled.
Sets their default to null aswell
2018-04-16 23:01:03 +03:00

8 lines
337 B
SQL

--
-- Allow null in path_old and set the default to null for suppliers_old and path_old
--
ALTER TABLE `ss13_cargo_items`
CHANGE COLUMN `suppliers_old` `suppliers_old` TEXT NULL DEFAULT NULL COMMENT 'JSON list of suppliers' AFTER `deleted_at`,
CHANGE COLUMN `path_old` `path_old` VARCHAR(150) NULL DEFAULT NULL AFTER `suppliers_old`;