mattermost/server/channels/db/migrations/postgres/000035_create_sharedchannelattachments.up.sql

10 lines
232 B
MySQL
Raw Permalink Normal View History

2022-01-08 03:16:07 -05:00
CREATE TABLE IF NOT EXISTS sharedchannelattachments (
id varchar(26) NOT NULL,
fileid varchar(26),
remoteid varchar(26),
createat bigint,
lastsyncat bigint,
PRIMARY KEY (id),
UNIQUE (fileid, remoteid)
);