mirror of
https://github.com/luminous-devs/lume.git
synced 2024-09-19 19:46:34 +00:00
10 lines
268 B
SQL
10 lines
268 B
SQL
-- Add migration script here
|
|
-- create chats table
|
|
CREATE TABLE
|
|
chats (
|
|
id INTEGER NOT NULL PRIMARY KEY,
|
|
account_id INTEGER NOT NULL,
|
|
pubkey TEXT NOT NULL UNIQUE,
|
|
created_at INTEGER NOT NULL,
|
|
FOREIGN KEY (account_id) REFERENCES accounts (id)
|
|
); |