panorama/daemon/migrations/20211013053733_initial.up.sql

15 lines
236 B
MySQL
Raw Normal View History

CREATE TABLE "accounts" (
2021-10-25 23:42:14 +00:00
"id" INTEGER PRIMARY KEY AUTOINCREMENT
);
CREATE TABLE "mailboxes" (
"account" INTEGER,
"name" TEXT,
PRIMARY KEY ("account", "name")
);
CREATE TABLE "messages" (
"id" TEXT PRIMARY KEY
);