focalboard/server/services/store/sqlstore/migrations/000008_teams.up.sql

9 lines
368 B
MySQL
Raw Normal View History

{{- /* addColumnIfNeeded tableName columnName datatype constraint */ -}}
{{ addColumnIfNeeded "blocks" "workspace_id" "varchar(36)" ""}}
2021-03-26 19:01:54 +01:00
{{ addColumnIfNeeded "sharing" "workspace_id" "varchar(36)" ""}}
2021-03-26 19:01:54 +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;