mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
5b07656295
* chore: rename flowy-database to flowy-sqlite * refactor: rename flowy-grid to flowy-database * refactor: rename grid to database * refactor: rename GridEvent to DatabaseEvent * refactor: rename grid_id to database_id * refactor: rename dart code
10 lines
302 B
SQL
10 lines
302 B
SQL
-- 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
|
|
);
|