panorama/daemon/migrations/20211013053733_initial.up.sql
Michael Zhang 3f09e8b55f
updates:
- reformat with 80char
- add SQLx to daemon
- add backtrace to anyhow
2021-10-13 00:50:48 -05:00

14 lines
228 B
SQL

CREATE TABLE "accounts" (
"id" PRIMARY KEY AUTOINCREMENT
);
CREATE TABLE "mailboxes" (
"account" INTEGER,
"name" TEXT,
PRIMARY KEY ("account", "name")
);
CREATE TABLE "messages" (
"id" TEXT PRIMARY KEY
);