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

FEAT #15673 TIME 1:05 added keyword migration

parent fa59a222
No related branches found
No related tags found
No related merge requests found
......@@ -168,6 +168,7 @@ DO $$ BEGIN
UPDATE baskets SET basket_clause = REGEXP_REPLACE(basket_clause, 'item_id(\s*)in(\s*)\(@my_primary_entity\)', 'item_id in (@my_primary_entity_id)', 'gmi');
UPDATE baskets SET basket_clause = REGEXP_REPLACE(basket_clause, '\(res_id,(\s*)@user\)', '(res_id, @user_id)', 'gmi');
UPDATE security SET where_clause = REGEXP_REPLACE(where_clause, 'item_id(\s*)=(\s*)@user ', 'item_id = @user_id ', 'gmi');
UPDATE baskets SET basket_clause = REGEXP_REPLACE(basket_clause, 'item_id(\s*)in(\s*)\(@subentities\[@my_primary_entity\]\)', 'item_id in (@subentities_id[@my_primary_entity_id])', 'gmi');
END IF;
END$$;
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