diff --git a/migration/20.03/2003.sql b/migration/20.03/2003.sql index 687ae3a85b73d8cab4d2398de869d28a09e1f391..c4406e760370759b698141a9d6982ecbdf2738cc 100644 --- a/migration/20.03/2003.sql +++ b/migration/20.03/2003.sql @@ -82,6 +82,9 @@ where group_id in ( ) and groupbasket.basket_id = actions_groupbaskets.basket_id ); +UPDATE groupbasket SET list_event_data = '{"defaultTab":"info"}' +WHERE list_event = 'processDocument' AND (list_event_data IS NULL OR list_event_data = ''); + -- /!\ Do not move : update actions AFTER all updates on groupbasket DELETE FROM actions_categories WHERE action_id in (SELECT id FROM actions WHERE component = 'viewDoc' OR action_page in ('view', 'validate_mail', 'process', 'visa_mail')); DELETE FROM actions_groupbaskets WHERE id_action in (SELECT id FROM actions WHERE component = 'viewDoc' OR action_page in ('view', 'validate_mail', 'process', 'visa_mail'));