style: renaming parameter, ban_time -> banned_since
This commit is contained in:
parent
26f528819e
commit
c2b5f6568f
3 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ pub struct GuildBan {
|
|||
pub guild_uuid: Uuid,
|
||||
pub user_uuid: Uuid,
|
||||
pub reason: Option<String>,
|
||||
pub ban_time: chrono::DateTime<chrono::Utc>,
|
||||
pub banned_since: chrono::DateTime<chrono::Utc>,
|
||||
}
|
||||
|
||||
impl GuildBan {
|
||||
|
|
|
@ -53,7 +53,7 @@ diesel::table! {
|
|||
user_uuid -> Uuid,
|
||||
#[max_length = 200]
|
||||
reason -> Nullable<Varchar>,
|
||||
ban_time -> Timestamptz,
|
||||
banned_since -> Timestamptz,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue