diff --git a/migration/src/m20230726_162138_drop_rpc_accounting_v2_fk.rs b/migration/src/m20230726_162138_drop_rpc_accounting_v2_fk.rs index f94279a0..a4e085b2 100644 --- a/migration/src/m20230726_162138_drop_rpc_accounting_v2_fk.rs +++ b/migration/src/m20230726_162138_drop_rpc_accounting_v2_fk.rs @@ -6,14 +6,16 @@ pub struct Migration; #[async_trait::async_trait] impl MigrationTrait for Migration { async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { - manager + let _ = manager .drop_foreign_key( ForeignKey::drop() .name("rpc_accounting_v2_ibfk_1") .table(RpcAccountingV2::Table) .to_owned(), ) - .await + .await; + + Ok(()) } async fn down(&self, _manager: &SchemaManager) -> Result<(), DbErr> {