Files
telegram-bot-calendar/src/schema.rs
2024-01-22 16:45:21 +01:00

30 lines
648 B
Rust

// @generated automatically by Diesel CLI.
diesel::table! {
chats (id) {
id -> Integer,
telegram_id -> BigInt,
calendar -> Text,
next_appointment_start -> Nullable<BigInt>,
next_appointment_end -> Nullable<BigInt>,
last_reminder -> Nullable<BigInt>,
pinned_message_id -> Nullable<Integer>,
locale -> Nullable<Text>,
}
}
diesel::table! {
reminders (id) {
id -> Integer,
chat_id -> Integer,
days_ahead -> BigInt,
}
}
diesel::joinable!(reminders -> chats (chat_id));
diesel::allow_tables_to_appear_in_same_query!(
chats,
reminders,
);