1
0
mirror of https://github.com/actix/examples synced 2025-02-13 05:52:20 +01:00
2021-02-26 00:57:58 +00:00

18 lines
302 B
Rust

table! {
invitations (id) {
id -> Uuid,
email -> Varchar,
expires_at -> Timestamp,
}
}
table! {
users (email) {
email -> Varchar,
hash -> Varchar,
created_at -> Timestamp,
}
}
allow_tables_to_appear_in_same_query!(invitations, users,);