Nathan.fooo bf121623ae
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
2023-06-06 16:03:29 +08:00

26 lines
513 B
Rust

// @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,
name -> Text,
workspace -> Text,
icon_url -> Text,
openai_key -> Text,
token -> Text,
email -> Text,
}
}
diesel::allow_tables_to_appear_in_same_query!(collab_snapshot, user_table,);