Files
mostlymatter/db/migrations/postgres/000035_create_sharedchannelattachments.up.sql
2022-01-08 10:16:07 +02:00

10 строки
232 B
SQL

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)
);