new-grid adapt2 revision

parent 00c084f9
...@@ -48,9 +48,10 @@ SELECT "Asociando pictos a tableros..."; ...@@ -48,9 +48,10 @@ SELECT "Asociando pictos a tableros...";
UPDATE stu_picto AS A UPDATE stu_picto AS A
JOIN stu_picto AS B on JOIN stu_picto AS B on
A.id_scene = B.id_scene AND A.id_scene = B.id_scene AND
A.id_stu = B.id_stu AND A.id_stu = B.id_stu AND
A.attributes->>"$.id_cat" = B.id_pic A.attributes->>"$.id_cat" = B.id_pic
WHERE B.id_child_grid IS NOT NULL
SET A.id_grid = B.id_child_grid; SET A.id_grid = B.id_child_grid;
-- ---------------------------------------------------------------------------- -- ----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment