mirror of
https://github.com/luminous-devs/lume.git
synced 2024-09-19 19:46:34 +00:00
11 lines
320 B
SQL
11 lines
320 B
SQL
-- Add migration script here
|
|
CREATE TABLE
|
|
blocks (
|
|
id INTEGER NOT NULL PRIMARY KEY,
|
|
account_id INTEGER NOT NULL,
|
|
kind INTEGER NOT NULL,
|
|
title TEXT NOT NULL,
|
|
content TEXT NOT NULL,
|
|
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
FOREIGN KEY (account_id) REFERENCES accounts (id)
|
|
); |