2022-12-16 17:15:38 +01:00
|
|
|
{{- /* addColumnIfNeeded tableName columnName datatype constraint */ -}}
|
|
|
|
{{ addColumnIfNeeded "blocks" "workspace_id" "varchar(36)" ""}}
|
2021-03-26 19:01:54 +01:00
|
|
|
|
2022-12-16 17:15:38 +01:00
|
|
|
{{ addColumnIfNeeded "sharing" "workspace_id" "varchar(36)" ""}}
|
2021-03-26 19:01:54 +01:00
|
|
|
|
2022-12-16 17:15:38 +01:00
|
|
|
{{ addColumnIfNeeded "sessions" "auth_service" "varchar(20)" ""}}
|
2021-03-30 23:04:00 +02:00
|
|
|
|
2021-04-17 09:06:57 +02:00
|
|
|
UPDATE {{.prefix}}blocks SET workspace_id = '0' WHERE workspace_id = '' OR workspace_id IS NULL;
|