Ignore old admin column
This commit is contained in:
parent
e050d168a7
commit
bb408936e9
3 changed files with 14 additions and 55 deletions
|
@ -9,9 +9,7 @@ pub struct Model {
|
|||
pub channel_id: ChannelId,
|
||||
pub user_id: UserId,
|
||||
pub accepted: bool,
|
||||
pub admin: bool,
|
||||
// only optional while migrating
|
||||
pub role: Option<ChannelRole>,
|
||||
pub role: ChannelRole,
|
||||
}
|
||||
|
||||
impl ActiveModelBehavior for ActiveModel {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue