feat: save snapshot to sqlite db (#2718)

* chore: snapshot

* chore: impl sqlite snapshot

* feat: snapshot config

* feat: update patch

* ci: fix tauri ci

* ci: add cache path

* chore: save snapshot

* chore: update patch

* ci: fix s fmt
This commit is contained in:
Nathan.fooo 2023-06-06 16:03:29 +08:00 committed by GitHub
parent f2dd58a4f1
commit bf121623ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 323 additions and 98 deletions

View file

@ -1,5 +1,15 @@
// @generated automatically by Diesel CLI.
diesel::table! {
collab_snapshot (id) {
id -> Text,
object_id -> Text,
desc -> Text,
timestamp -> BigInt,
data -> Binary,
}
}
diesel::table! {
user_table (id) {
id -> Text,
@ -11,3 +21,5 @@ diesel::table! {
email -> Text,
}
}
diesel::allow_tables_to_appear_in_same_query!(collab_snapshot, user_table,);