create chat index table

This commit is contained in:
Erik Foris 2021-11-15 14:24:57 +01:00
parent 146ad6a712
commit de45dcb1fc

View File

@ -0,0 +1,8 @@
-- chat index table
CREATE TABLE IF NOT EXISTS chat_index (
id TEXT NOT NULL,
is_group_chat BOOLEAN DEFAULT 0 NOT NULL CHECK (is_group_chat IN (0, 1)),
title TEXT NOT NULL,
description TEXT,
users TEXT NOT NULL
);