Files
telegram-bot-calendar/src/schema.rs

31 lines
699 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,
reminder_delta_hours -> BigInt,
reminder_time -> Nullable<Text>,
}
}
diesel::joinable!(reminders -> chats (chat_id));
diesel::allow_tables_to_appear_in_same_query!(
chats,
reminders,
);