delojza/db_versions/00_initial.sql

12 lines
341 B
MySQL
Raw Normal View History

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
)