AppFlowy/rust-lib/flowy-database/migrations/2021-09-22-074638_flowy-doc-op/up.sql
2021-09-23 15:49:10 +08:00

8 lines
240 B
SQL

-- Your SQL goes here
CREATE TABLE op_table (
base_rev_id BIGINT NOT NULL DEFAULT 0,
rev_id BIGINT NOT NULL PRIMARY KEY,
data BLOB NOT NULL DEFAULT (x''),
md5 TEXT NOT NULL DEFAULT '',
state INTEGER NOT NULL DEFAULT 0
);