Skip to content
Snippets Groups Projects
Commit 6ec36cf5 authored by Guillaume Heurtier's avatar Guillaume Heurtier
Browse files

FEAT #12331 TIME 0:40 migrate default action page

parent 090a5b8f
No related branches found
No related tags found
No related merge requests found
...@@ -71,6 +71,17 @@ DELETE FROM actions WHERE action_page = 'view' OR component = 'viewDoc'; ...@@ -71,6 +71,17 @@ DELETE FROM actions WHERE action_page = 'view' OR component = 'viewDoc';
ALTER TABLE groupbasket DROP COLUMN IF EXISTS list_event_data; ALTER TABLE groupbasket DROP COLUMN IF EXISTS list_event_data;
ALTER TABLE groupbasket ADD COLUMN list_event_data jsonb; ALTER TABLE groupbasket ADD COLUMN list_event_data jsonb;
update groupbasket set list_event_data = '"info"', list_event = 'processDocument'
where group_id in (
select group_id
from actions_groupbaskets
where id_action in (
select id
from actions
where action_page = 'validate_mail'
) and groupbasket.basket_id = actions_groupbaskets.basket_id
);
/* FOLDERS */ /* FOLDERS */
DO $$ BEGIN DO $$ BEGIN
......
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