Commit b766dbaf authored by Paul durand's avatar Paul durand
Browse files

Merge branch 'fix88/CustomfieldActivedByDefault' into '20.10_TMA1'

add a modification during migration to set actived to default 'Y'

See merge request maarch/MaarchCourrier!541
parents 0a17ddca dffbd7e7
......@@ -364,7 +364,9 @@ ALTER TABLE custom_fields DROP COLUMN IF EXISTS mode;
DROP TYPE IF EXISTS custom_fields_modes;
CREATE TYPE custom_fields_modes AS ENUM ('form', 'technical');
ALTER TABLE custom_fields ADD COLUMN mode custom_fields_modes NOT NULL DEFAULT 'form';
-- SGAMI fix 88
ALTER TABLE custom_fields ALTER COLUMN actived SET DEFAULT 'Y';
-- END SGAMI
ALTER TABLE listinstance DROP COLUMN IF EXISTS delegate;
ALTER TABLE listinstance ADD COLUMN delegate INTEGER;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment