diesel_database_design/
schema.rs

1// @generated automatically by Diesel CLI.
2
3diesel::table! {
4    posts (id) {
5        id -> Uuid,
6        title -> Varchar,
7        text -> Text,
8        user_id -> Uuid,
9        created_at -> Timestamptz,
10        updated_at -> Timestamptz,
11    }
12}
13
14diesel::table! {
15    users (id) {
16        id -> Uuid,
17        name -> Varchar,
18        email -> Varchar,
19        password_hash -> Varchar,
20        created_at -> Timestamptz,
21        updated_at -> Timestamptz,
22    }
23}
24
25diesel::allow_tables_to_appear_in_same_query!(
26    posts,
27    users,
28);