delojza/db_versions/00_initial.sql

12 lines
No EOL
341 B
SQL

CREATE TABLE chats
(
id INTEGER PRIMARY KEY NOT NULL,
protected BOOLEAN NOT NULL DEFAULT FALSE
);
CREATE TABLE tags
(
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
tag TEXT UNIQUE NOT NULL,
protected BOOLEAN NOT NULL DEFAULT FALSE
)