mirror of
https://github.com/GRFreire/nthmail.git
synced 2026-01-09 21:09:39 +00:00
13 lines
247 B
SQL
13 lines
247 B
SQL
CREATE TABLE inboxes (
|
|
id integer not null primary key,
|
|
addr text unique
|
|
);
|
|
|
|
CREATE TABLE mails (
|
|
id integer not null primary key,
|
|
inbox_id id,
|
|
from_addr text,
|
|
data blob,
|
|
FOREIGN KEY(inbox_id) REFERENCES inboxes(id)
|
|
);
|