mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-04 18:39:33 +00:00
Fix mariadb migration
This commit is contained in:
parent
aade4c173a
commit
2e443bc9b9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user