channels alongside users table
This commit is contained in:
parent
e588d81383
commit
a6a597cc0c
@ -1,3 +1,11 @@
|
|||||||
|
table! {
|
||||||
|
channels (id) {
|
||||||
|
id -> Integer,
|
||||||
|
name -> Varchar,
|
||||||
|
ctype -> Integer,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
table! {
|
table! {
|
||||||
users (id) {
|
users (id) {
|
||||||
id -> Integer,
|
id -> Integer,
|
||||||
@ -6,3 +14,8 @@ table! {
|
|||||||
native -> Nullable<Bool>,
|
native -> Nullable<Bool>,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
allow_tables_to_appear_in_same_query!(
|
||||||
|
channels,
|
||||||
|
users,
|
||||||
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user