diesel_postgres_composite_type/
schema.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// @generated automatically by Diesel CLI.

diesel::table! {
    colors (color_id) {
        color_id -> Int4,
        red -> Int4,
        green -> Int4,
        blue -> Int4,
        color_name -> Nullable<Text>,
    }
}

diesel::table! {
    coordinates (coord_id) {
        coord_id -> Int4,
        xcoord -> Int4,
        ycoord -> Int4,
    }
}

diesel::allow_tables_to_appear_in_same_query!(colors, coordinates,);