AppFlowy/frontend/rust-lib/flowy-sqlite/src/schema.rs
Mathias Mogensen bd7977d8ba
fix: search improvements (#5473)
* fix: search workspace sync indexing

* chore: update collab rev temporarily

* feat: revert comparison and implement index check

* chore: fixes after merg

* feat: clean code + support delete workspace

* fix: improve code

* fix: improvements after merge

* fix: cargo fmt

* fix: remove indices for workspace method

* fix: clippy errors

* fix: clippy too many arguments
2024-06-05 13:44:32 +02:00

77 lines
1.5 KiB
Rust

// @generated automatically by Diesel CLI.
diesel::table! {
chat_message_table (message_id) {
message_id -> BigInt,
chat_id -> Text,
content -> Text,
created_at -> BigInt,
author_type -> BigInt,
author_id -> Text,
reply_message_id -> Nullable<BigInt>,
}
}
diesel::table! {
chat_table (chat_id) {
chat_id -> Text,
created_at -> BigInt,
name -> Text,
}
}
diesel::table! {
collab_snapshot (id) {
id -> Text,
object_id -> Text,
title -> Text,
desc -> Text,
collab_type -> Text,
timestamp -> BigInt,
data -> Binary,
}
}
diesel::table! {
user_data_migration_records (id) {
id -> Integer,
migration_name -> Text,
executed_at -> Timestamp,
}
}
diesel::table! {
user_table (id) {
id -> Text,
name -> Text,
workspace -> Text,
icon_url -> Text,
openai_key -> Text,
token -> Text,
email -> Text,
auth_type -> Integer,
encryption_type -> Text,
stability_ai_key -> Text,
updated_at -> BigInt,
}
}
diesel::table! {
user_workspace_table (id) {
id -> Text,
name -> Text,
uid -> BigInt,
created_at -> BigInt,
database_storage_id -> Text,
icon -> Text,
}
}
diesel::allow_tables_to_appear_in_same_query!(
chat_message_table,
chat_table,
collab_snapshot,
user_data_migration_records,
user_table,
user_workspace_table,
);