chore: config grid rev persistence

This commit is contained in:
appflowy
2022-03-10 22:27:19 +08:00
parent cea7d30a53
commit 9a791974b4
17 changed files with 404 additions and 206 deletions

View File

@ -21,6 +21,17 @@ table! {
}
}
table! {
grid_rev_table (id) {
id -> Integer,
object_id -> Text,
base_rev_id -> BigInt,
rev_id -> BigInt,
data -> Binary,
state -> Integer,
}
}
table! {
kv_table (key) {
key -> Text,
@ -91,6 +102,7 @@ table! {
allow_tables_to_appear_in_same_query!(
app_table,
doc_table,
grid_rev_table,
kv_table,
rev_table,
trash_table,