Fix mariadb migration

This commit is contained in:
Eike Kettner 2021-03-13 15:52:38 +01:00
parent aade4c173a
commit 2e443bc9b9

View File

@ -4,7 +4,7 @@ ADD COLUMN `equip_use` varchar(254);
UPDATE `equipment` SET `equip_use` = 'concerning';
ALTER TABLE `equipment`
ALTER COLUMN `equip_use` SET NOT NULL;
MODIFY COLUMN `equip_use` varchar(254) NOT NULL;
ALTER TABLE `organization`
@ -13,4 +13,4 @@ ADD COLUMN `org_use` varchar(254);
UPDATE `organization` SET `org_use` = 'correspondent';
ALTER TABLE `organization`
ALTER COLUMN `org_use` SET NOT NULL;
MODIFY COLUMN `org_use` varchar(254) NOT NULL;