mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-28 11:31:54 +00:00

* chore: ai type * chore: use patch to fix version issue * chore: update * chore: update * chore: integrate client api * chore: add schema * chore: setup event * chore: add event test * chore: add test * chore: update test * chore: load chat message * chore: load chat message * chore: chat ui * chore: disable create chat * chore: update client api * chore: disable chat * chore: ui theme * chore: ui theme * chore: copy message * chore: fix test * chore: show error * chore: update bloc * chore: update test * chore: lint * chore: icon * chore: hover * chore: show unsupported page * chore: adjust mobile ui * chore: adjust view title bar * chore: return related question * chore: error page * chore: error page * chore: code format * chore: prompt * chore: fix test * chore: ui adjust * chore: disable create chat * chore: add loading page * chore: fix test * chore: disable chat action * chore: add maximum text limit
78 lines
1.5 KiB
Rust
78 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,
|
|
);
|