Add tokens routes
This commit is contained in:
@ -55,22 +55,21 @@ diesel::table! {
|
||||
token (id) {
|
||||
id -> Int4,
|
||||
#[max_length = 150]
|
||||
label -> Varchar,
|
||||
name -> Varchar,
|
||||
time_create -> Int8,
|
||||
time_update -> Int8,
|
||||
user_id -> Int4,
|
||||
#[max_length = 150]
|
||||
token_value -> Varchar,
|
||||
time_used -> Int8,
|
||||
max_inactivity -> Nullable<Int4>,
|
||||
max_inactivity -> Int4,
|
||||
#[max_length = 50]
|
||||
ip_restriction -> Nullable<Varchar>,
|
||||
ip_net -> Nullable<Varchar>,
|
||||
read_only -> Bool,
|
||||
right_account -> Bool,
|
||||
right_movement -> Bool,
|
||||
right_inbox -> Bool,
|
||||
right_attachment -> Bool,
|
||||
right_user -> Bool,
|
||||
right_auth -> Bool,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user