// @generated automatically by Diesel CLI. diesel::table! { calendar_events (id) { id -> Integer, event_uid -> Nullable, summary -> Text, description -> Nullable, location -> Nullable, start_time -> BigInt, end_time -> BigInt, all_day -> Bool, organizer -> Nullable, attendees -> Nullable, embedding -> Nullable, created_at -> BigInt, source_file -> Nullable, } } diesel::table! { daily_conversation_summaries (id) { id -> Integer, date -> Text, contact -> Text, summary -> Text, message_count -> Integer, embedding -> Binary, created_at -> BigInt, model_version -> Text, } } diesel::table! { favorites (id) { id -> Integer, userid -> Integer, path -> Text, } } diesel::table! { image_exif (id) { id -> Integer, file_path -> Text, camera_make -> Nullable, camera_model -> Nullable, lens_model -> Nullable, width -> Nullable, height -> Nullable, orientation -> Nullable, gps_latitude -> Nullable, gps_longitude -> Nullable, gps_altitude -> Nullable, focal_length -> Nullable, aperture -> Nullable, shutter_speed -> Nullable, iso -> Nullable, date_taken -> Nullable, created_time -> BigInt, last_modified -> BigInt, } } diesel::table! { knowledge_embeddings (id) { id -> Integer, keyword -> Text, description -> Text, category -> Nullable, embedding -> Binary, created_at -> BigInt, model_version -> Text, } } diesel::table! { location_history (id) { id -> Integer, timestamp -> BigInt, latitude -> Float, longitude -> Float, accuracy -> Nullable, activity -> Nullable, activity_confidence -> Nullable, place_name -> Nullable, place_category -> Nullable, embedding -> Nullable, created_at -> BigInt, source_file -> Nullable, } } diesel::table! { message_embeddings (id) { id -> Integer, contact -> Text, body -> Text, timestamp -> BigInt, is_sent -> Bool, embedding -> Binary, created_at -> BigInt, model_version -> Text, } } diesel::table! { photo_insights (id) { id -> Integer, file_path -> Text, title -> Text, summary -> Text, generated_at -> BigInt, model_version -> Text, } } diesel::table! { search_history (id) { id -> Integer, timestamp -> BigInt, query -> Text, search_engine -> Nullable, embedding -> Binary, created_at -> BigInt, source_file -> Nullable, } } diesel::table! { tagged_photo (id) { id -> Integer, photo_name -> Text, tag_id -> Integer, created_time -> BigInt, } } diesel::table! { tags (id) { id -> Integer, name -> Text, created_time -> BigInt, } } diesel::table! { users (id) { id -> Integer, username -> Text, password -> Text, } } diesel::joinable!(tagged_photo -> tags (tag_id)); diesel::allow_tables_to_appear_in_same_query!( calendar_events, daily_conversation_summaries, favorites, image_exif, knowledge_embeddings, location_history, message_embeddings, photo_insights, search_history, tagged_photo, tags, users, );