mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
Combines the following repositories into one: https://github.com/mattermost/mattermost-server https://github.com/mattermost/mattermost-webapp https://github.com/mattermost/focalboard https://github.com/mattermost/mattermost-plugin-playbooks
15 lines
No EOL
553 B
SQL
15 lines
No EOL
553 B
SQL
CREATE TABLE IF NOT EXISTS sharedchannelremotes (
|
|
id character varying(26) NOT NULL,
|
|
channelid character varying(26) NOT NULL,
|
|
creatorid character varying(26),
|
|
createat bigint,
|
|
updateat bigint,
|
|
isinviteaccepted boolean,
|
|
isinviteconfirmed boolean,
|
|
remoteid character varying(26),
|
|
PRIMARY KEY(id, channelid),
|
|
UNIQUE(channelid, remoteid)
|
|
);
|
|
|
|
ALTER TABLE sharedchannelremotes ADD COLUMN IF NOT EXISTS LastPostUpdateAt bigint;
|
|
ALTER TABLE sharedchannelremotes ADD COLUMN IF NOT EXISTS LastPostId character varying(26); |