2023-01-12 14:31:39 +00:00
|
|
|
// @generated automatically by Diesel CLI.
|
|
|
|
|
2023-06-06 08:03:29 +00:00
|
|
|
diesel::table! {
|
|
|
|
collab_snapshot (id) {
|
|
|
|
id -> Text,
|
|
|
|
object_id -> Text,
|
2023-06-06 16:05:27 +00:00
|
|
|
title -> Text,
|
2023-06-06 08:03:29 +00:00
|
|
|
desc -> Text,
|
2023-06-06 16:05:27 +00:00
|
|
|
collab_type -> Text,
|
2023-06-06 08:03:29 +00:00
|
|
|
timestamp -> BigInt,
|
|
|
|
data -> Binary,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-20 12:54:47 +00:00
|
|
|
diesel::table! {
|
|
|
|
rocksdb_backup (object_id) {
|
|
|
|
object_id -> Text,
|
|
|
|
timestamp -> BigInt,
|
|
|
|
data -> Binary,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-03 01:14:52 +00:00
|
|
|
diesel::table! {
|
|
|
|
user_data_migration_records (id) {
|
|
|
|
id -> Integer,
|
|
|
|
migration_name -> Text,
|
|
|
|
executed_at -> Timestamp,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-12 14:31:39 +00:00
|
|
|
diesel::table! {
|
2021-07-09 08:34:50 +00:00
|
|
|
user_table (id) {
|
|
|
|
id -> Text,
|
|
|
|
name -> Text,
|
2021-07-14 13:12:52 +00:00
|
|
|
workspace -> Text,
|
2022-08-08 14:19:05 +00:00
|
|
|
icon_url -> Text,
|
2023-02-14 02:04:36 +00:00
|
|
|
openai_key -> Text,
|
2023-06-05 10:30:14 +00:00
|
|
|
token -> Text,
|
|
|
|
email -> Text,
|
2023-07-14 05:37:13 +00:00
|
|
|
auth_type -> Integer,
|
2023-08-17 15:46:39 +00:00
|
|
|
encryption_type -> Text,
|
2023-10-09 15:14:24 +00:00
|
|
|
stability_ai_key -> Text,
|
2023-10-24 12:11:06 +00:00
|
|
|
updated_at -> BigInt,
|
2021-07-09 08:34:50 +00:00
|
|
|
}
|
|
|
|
}
|
2023-06-06 08:03:29 +00:00
|
|
|
|
2023-07-29 01:46:24 +00:00
|
|
|
diesel::table! {
|
|
|
|
user_workspace_table (id) {
|
|
|
|
id -> Text,
|
|
|
|
name -> Text,
|
|
|
|
uid -> BigInt,
|
|
|
|
created_at -> BigInt,
|
|
|
|
database_storage_id -> Text,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-03 01:14:52 +00:00
|
|
|
diesel::allow_tables_to_appear_in_same_query!(
|
|
|
|
collab_snapshot,
|
2023-11-20 12:54:47 +00:00
|
|
|
rocksdb_backup,
|
2023-08-03 01:14:52 +00:00
|
|
|
user_data_migration_records,
|
|
|
|
user_table,
|
|
|
|
user_workspace_table,
|
|
|
|
);
|