AppFlowy/frontend/rust-lib/flowy-sqlite/migrations/2021-09-22-074638_revision/up.sql

10 lines
328 B
MySQL
Raw Normal View History

2021-09-23 05:15:35 +00:00
-- Your SQL goes here
2021-09-26 08:39:57 +00:00
CREATE TABLE rev_table (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
doc_id TEXT NOT NULL DEFAULT '',
2021-09-23 07:49:10 +00:00
base_rev_id BIGINT NOT NULL DEFAULT 0,
rev_id BIGINT NOT NULL DEFAULT 0,
2021-09-23 05:15:35 +00:00
data BLOB NOT NULL DEFAULT (x''),
2021-09-26 08:39:57 +00:00
state INTEGER NOT NULL DEFAULT 0,
ty INTEGER NOT NULL DEFAULT 0
2021-09-23 05:15:35 +00:00
);