AppFlowy/frontend/rust-lib/flowy-sqlite/migrations/2022-10-22-033122_document/up.sql

10 lines
302 B
MySQL
Raw Normal View History

2022-10-22 13:57:44 +00:00
-- Your SQL goes here
CREATE TABLE document_rev_table (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
document_id TEXT NOT NULL DEFAULT '',
base_rev_id BIGINT NOT NULL DEFAULT 0,
rev_id BIGINT NOT NULL DEFAULT 0,
data BLOB NOT NULL DEFAULT (x''),
state INTEGER NOT NULL DEFAULT 0
);