actual-server/sql/account.sql

18 lines
327 B
MySQL
Raw Normal View History

2022-03-31 17:19:08 +00:00
CREATE TABLE auth
(password TEXT PRIMARY KEY);
CREATE TABLE sessions
(token TEXT PRIMARY KEY);
CREATE TABLE files
(id TEXT PRIMARY KEY,
group_id TEXT,
sync_version SMALLINT,
encrypt_meta TEXT,
encrypt_keyid TEXT,
encrypt_salt TEXT,
encrypt_test TEXT,
deleted BOOLEAN DEFAULT FALSE,
name TEXT);