2022-08-18 17:03:33 +02:00
INSERT INTO Channels ( Id , CreateAt , UpdateAt , DeleteAt , TeamId , Type , Name , CreatorId ) VALUES ( ' chan-id ' , 123 , 123 , 0 , ' team-id ' , ' O ' , ' channel ' , ' user-id ' ) ;
INSERT INTO focalboard_blocks
2022-10-20 15:36:13 +02:00
( id , workspace_id , root_id , parent_id , created_by , modified_by , type , title , create_at , update_at , delete_at , fields )
2022-08-18 17:03:33 +02:00
VALUES
2022-10-20 15:36:13 +02:00
( ' board-id ' , ' chan-id ' , ' board-id ' , ' board-id ' , ' user-id ' , ' user-id ' , ' board ' , ' My Board ' , 123 , 123 , 0 , ' {"columnCalculations": {"__title":"countUniqueValue"}} ' ) ,
( ' card-id ' , ' chan-id ' , ' board-id ' , ' board-id ' , ' user-id ' , ' user-id ' , ' card ' , ' A card ' , 123 , 123 , 0 , ' {} ' ) ,
( ' view-id ' , ' chan-id ' , ' board-id ' , ' board-id ' , ' user-id ' , ' user-id ' , ' view ' , ' A view ' , 123 , 123 , 0 , ' {"viewType":"table"} ' ) ,
( ' view-id2 ' , ' chan-id ' , ' board-id ' , ' board-id ' , ' user-id ' , ' user-id ' , ' view ' , ' A view2 ' , 123 , 123 , 0 , ' {"viewType":"board"} ' ) ,
( ' board-id2 ' , ' chan-id ' , ' board-id2 ' , ' board-id2 ' , ' user-id ' , ' user-id ' , ' board ' , ' My Board Two ' , 123 , 123 , 0 , ' {"description": "My Description","showDescription":true,"isTemplate":true,"templateVer":1,"columnCalculations":[]} ' ) ;