new struct for invites
This commit is contained in:
parent
6584b50d49
commit
abf573812f
@ -13,3 +13,10 @@ pub struct channels {
|
||||
pub name: String,
|
||||
pub ctype: i64,
|
||||
}
|
||||
|
||||
#[derive(Queryable)]
|
||||
pub struct Invite {
|
||||
pub hash: i64,
|
||||
pub uses: i32, // simple that tracks the number of uses a thing has left
|
||||
pub expire: i64, // used as a unix time stamp
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user