mirror of
https://github.com/luminous-devs/lume.git
synced 2024-09-19 11:43:30 +00:00
12 lines
299 B
SQL
12 lines
299 B
SQL
-- Add migration script here
|
|
CREATE TABLE
|
|
events (
|
|
id TEXT NOT NULL PRIMARY KEY,
|
|
account_id INTEGER NOT NULL,
|
|
event TEXT NOT NULL,
|
|
author TEXT NOT NULL,
|
|
root_id TEXT,
|
|
reply_id TEXT,
|
|
created_at INTEGER NOT NULL,
|
|
FOREIGN KEY (account_id) REFERENCES accounts (id)
|
|
); |