diff --git a/upub/migrations/src/m20240715_000002_add_actors_fields_and_aliases.rs b/upub/migrations/src/m20240715_000002_add_actors_fields_and_aliases.rs index 6d8183b..0c5b29c 100644 --- a/upub/migrations/src/m20240715_000002_add_actors_fields_and_aliases.rs +++ b/upub/migrations/src/m20240715_000002_add_actors_fields_and_aliases.rs @@ -13,8 +13,8 @@ impl MigrationTrait for Migration { Table::alter() .table(Actors::Table) .add_column(ColumnDef::new(Actors::MovedTo).string().null()) - .add_column(ColumnDef::new(Actors::AlsoKnownAs).json_binary().not_null().default::>(vec![])) - .add_column(ColumnDef::new(Actors::Fields).json_binary().not_null().default::>(vec![])) + .add_column(ColumnDef::new(Actors::AlsoKnownAs).json_binary().null()) + .add_column(ColumnDef::new(Actors::Fields).json_binary().null()) .to_owned() ) .await?;