1
0
mirror of https://github.com/actix/examples synced 2025-06-30 18:44:25 +02:00
Files
examples/simple-auth-server/src/schema.rs
2019-03-09 18:03:09 -08:00

18 lines
306 B
Rust

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