actual-server/sql/messages.sql
2022-03-31 13:19:08 -04:00

10 lines
203 B
SQL

CREATE TABLE messages_binary
(timestamp TEXT,
is_encrypted BOOLEAN,
content bytea,
PRIMARY KEY(timestamp, group_id));
CREATE TABLE messages_merkles
(id TEXT PRIMAREY KEY,
merkle TEXT);