diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-08-25 16:12:16 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-08-25 16:12:16 +0200 |
commit | 639eb16af544ea051d2e091111bcd6427a1644d0 (patch) | |
tree | de4546f8f075cc122d503a7750d989dbc87c6d3d /src/schema.rs | |
parent | ccf0703f753c66405683b17b4d1f5135c10c0ece (diff) | |
download | ramaskrik-social-639eb16af544ea051d2e091111bcd6427a1644d0.tar.gz ramaskrik-social-639eb16af544ea051d2e091111bcd6427a1644d0.tar.bz2 ramaskrik-social-639eb16af544ea051d2e091111bcd6427a1644d0.zip |
Add info about the event to the db and render landing page.
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, |