diff --git a/libs/migrate/m20260420_000003_add_model_id_to_room_message.rs b/libs/migrate/m20260420_000003_add_model_id_to_room_message.rs index ba57388..8460337 100644 --- a/libs/migrate/m20260420_000003_add_model_id_to_room_message.rs +++ b/libs/migrate/m20260420_000003_add_model_id_to_room_message.rs @@ -20,10 +20,10 @@ impl MigrationTrait for Migration { async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { manager .get_connection() - .execute_raw( + .execute_raw(sea_orm::Statement::from_string( sea_orm::DbBackend::Postgres, "ALTER TABLE room_message DROP COLUMN IF EXISTS model_id;", - ) + )) .await?; Ok(()) }