2023-01-12 22:31:39 +08:00
|
|
|
// @generated automatically by Diesel CLI.
|
|
|
|
|
2023-06-06 16:03:29 +08:00
|
|
|
diesel::table! {
|
|
|
|
collab_snapshot (id) {
|
|
|
|
id -> Text,
|
|
|
|
object_id -> Text,
|
2023-06-07 00:05:27 +08:00
|
|
|
title -> Text,
|
2023-06-06 16:03:29 +08:00
|
|
|
desc -> Text,
|
2023-06-07 00:05:27 +08:00
|
|
|
collab_type -> Text,
|
2023-06-06 16:03:29 +08:00
|
|
|
timestamp -> BigInt,
|
|
|
|
data -> Binary,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-12 22:31:39 +08:00
|
|
|
diesel::table! {
|
2021-07-09 16:34:50 +08:00
|
|
|
user_table (id) {
|
|
|
|
id -> Text,
|
|
|
|
name -> Text,
|
2021-07-14 21:12:52 +08:00
|
|
|
workspace -> Text,
|
2022-08-08 22:19:05 +08:00
|
|
|
icon_url -> Text,
|
2023-02-14 10:04:36 +08:00
|
|
|
openai_key -> Text,
|
2023-06-05 18:30:14 +08:00
|
|
|
token -> Text,
|
|
|
|
email -> Text,
|
2021-07-09 16:34:50 +08:00
|
|
|
}
|
|
|
|
}
|
2023-06-06 16:03:29 +08:00
|
|
|
|
|
|
|
diesel::allow_tables_to_appear_in_same_query!(collab_snapshot, user_table,);
|