diff --git a/server/src/db_io/src/schema.rs b/server/src/db_io/src/schema.rs index 934d893..47aeb97 100644 --- a/server/src/db_io/src/schema.rs +++ b/server/src/db_io/src/schema.rs @@ -1,3 +1,11 @@ +table! { + channels (id) { + id -> Integer, + name -> Varchar, + ctype -> Integer, + } +} + table! { users (id) { id -> Integer, @@ -6,3 +14,8 @@ table! { native -> Nullable, } } + +allow_tables_to_appear_in_same_query!( + channels, + users, +);