You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-09-16 08:56:19 +02:00
Revert "Removing restriction about the channel_id and add it to all the databases"
This reverts commit b9be81b900
.
This commit is contained in:
@@ -5,7 +5,9 @@ CREATE TABLE {{.prefix}}categories (
|
||||
name varchar(100) NOT NULL,
|
||||
user_id varchar(32) NOT NULL,
|
||||
team_id varchar(32) NOT NULL,
|
||||
channel_id varchar(32),
|
||||
{{if not .sqlite}}
|
||||
channel_id varchar(32) NOT NULL,
|
||||
{{end}}
|
||||
create_at BIGINT,
|
||||
update_at BIGINT,
|
||||
delete_at BIGINT,
|
||||
@@ -17,7 +19,7 @@ CREATE TABLE {{.prefix}}categories (
|
||||
name,
|
||||
user_id,
|
||||
team_id,
|
||||
channel_id,
|
||||
{{if not .sqlite}}channel_id,{{end}}
|
||||
create_at,
|
||||
update_at,
|
||||
delete_at
|
||||
|
Reference in New Issue
Block a user