diff options
Diffstat (limited to 'src/schema.rs')
-rw-r--r-- | src/schema.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/schema.rs b/src/schema.rs index 8931558..fc3066c 100644 --- a/src/schema.rs +++ b/src/schema.rs @@ -1,4 +1,12 @@ table! { + event (id) { + id -> Int4, + name -> Varchar, + description -> Nullable<Text>, + } +} + +table! { films (id) { id -> Int4, title -> Varchar, @@ -24,6 +32,7 @@ table! { } allow_tables_to_appear_in_same_query!( + event, films, rooms, screenings, |