diff --git a/sea-orm-migration/src/manager.rs b/sea-orm-migration/src/manager.rs index d1cc3b6a3..3d2f3250a 100644 --- a/sea-orm-migration/src/manager.rs +++ b/sea-orm-migration/src/manager.rs @@ -41,7 +41,7 @@ impl<'c> SchemaManager<'c> { } /// Schema Creation -impl<'c> SchemaManager<'c> { +impl SchemaManager<'_> { pub async fn create_table(&self, stmt: TableCreateStatement) -> Result<(), DbErr> { self.exec_stmt(stmt).await } @@ -60,7 +60,7 @@ impl<'c> SchemaManager<'c> { } /// Schema Mutation -impl<'c> SchemaManager<'c> { +impl SchemaManager<'_> { pub async fn alter_table(&self, stmt: TableAlterStatement) -> Result<(), DbErr> { self.exec_stmt(stmt).await } @@ -95,7 +95,7 @@ impl<'c> SchemaManager<'c> { } /// Schema Inspection. -impl<'c> SchemaManager<'c> { +impl SchemaManager<'_> { pub async fn has_table(&self, table: T) -> Result where T: AsRef,