chore: add snapshot

This commit is contained in:
appflowy
2022-06-10 22:27:19 +08:00
parent aeb69f307c
commit d5eabe4ea3
15 changed files with 225 additions and 87 deletions

View File

@ -67,6 +67,15 @@ table! {
}
}
table! {
rev_snapshot (id) {
id -> Integer,
object_id -> Text,
rev_id -> BigInt,
data -> Binary,
}
}
table! {
rev_table (id) {
id -> Integer,
@ -135,6 +144,7 @@ allow_tables_to_appear_in_same_query!(
grid_rev_table,
kv_table,
rev_history,
rev_snapshot,
rev_table,
trash_table,
user_table,