mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
added profilecomponentes to type
This commit is contained in:
parent
6a88c5ea01
commit
d1e2dbaab1
@ -64,3 +64,30 @@ ON CONFLICT (id) DO UPDATE
|
||||
item = excluded.item,
|
||||
sort = excluded.sort,
|
||||
types_id = excluded.types_id;
|
||||
|
||||
-- Type: text+gallery
|
||||
INSERT INTO public."types_profileTemplate" (collection, id, item, sort, types_id)
|
||||
SELECT
|
||||
'texts', '6', 'c960bbfc-5d98-4f6d-ae44-7a2b63d3359b' , '1', types.id
|
||||
FROM
|
||||
public.types as types
|
||||
WHERE
|
||||
name = 'user:text+gallery'
|
||||
ON CONFLICT (id) DO UPDATE
|
||||
SET collection = excluded.collection,
|
||||
item = excluded.item,
|
||||
sort = excluded.sort,
|
||||
types_id = excluded.types_id;
|
||||
|
||||
INSERT INTO public."types_profileTemplate" (collection, id, item, sort, types_id)
|
||||
SELECT
|
||||
'gallery', '7', '6d18b616-6f4f-4987-9860-681b88bdc068' , '2', types.id
|
||||
FROM
|
||||
public.types as types
|
||||
WHERE
|
||||
name = 'user:text+gallery'
|
||||
ON CONFLICT (id) DO UPDATE
|
||||
SET collection = excluded.collection,
|
||||
item = excluded.item,
|
||||
sort = excluded.sort,
|
||||
types_id = excluded.types_id;
|
||||
Loading…
x
Reference in New Issue
Block a user