Ignore old admin column

This commit is contained in:
Conrad Irwin 2023-10-13 14:08:40 -06:00
parent e050d168a7
commit bb408936e9
3 changed files with 14 additions and 55 deletions

View file

@ -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 {}