Skip to content
Snippets Groups Projects
Commit 287ff446 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX sql linked_resources

parent 11b78b2b
No related branches found
No related tags found
No related merge requests found
...@@ -357,7 +357,9 @@ ALTER TABLE res_letterbox ADD COLUMN IF NOT EXISTS scan_wkstation CHARACTER VARY ...@@ -357,7 +357,9 @@ ALTER TABLE res_letterbox ADD COLUMN IF NOT EXISTS scan_wkstation CHARACTER VARY
ALTER TABLE res_letterbox ADD COLUMN IF NOT EXISTS scan_batch CHARACTER VARYING (50) DEFAULT NULL::character varying; ALTER TABLE res_letterbox ADD COLUMN IF NOT EXISTS scan_batch CHARACTER VARYING (50) DEFAULT NULL::character varying;
ALTER TABLE res_letterbox ADD COLUMN IF NOT EXISTS scan_postmark CHARACTER VARYING (50) DEFAULT NULL::character varying; ALTER TABLE res_letterbox ADD COLUMN IF NOT EXISTS scan_postmark CHARACTER VARYING (50) DEFAULT NULL::character varying;
ALTER TABLE res_letterbox ADD COLUMN IF NOT EXISTS custom_fields jsonb; ALTER TABLE res_letterbox ADD COLUMN IF NOT EXISTS custom_fields jsonb;
ALTER TABLE res_letterbox ADD COLUMN IF NOT EXISTS linked_resources jsonb NOT NULL DEFAULT '[]';
ALTER TABLE res_letterbox DROP COLUMN IF EXISTS linked_resources;
ALTER TABLE res_letterbox ADD COLUMN linked_resources jsonb NOT NULL DEFAULT '[]';
/* USERGROUP_CONTENT */ /* USERGROUP_CONTENT */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment