From 46127149b9a2aedb6cc15e5da853477846e5061c Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Thu, 13 Jul 2023 18:12:07 -0700 Subject: [PATCH] lint --- .../m20230713_144446_stripe_default_date_created.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/migration/src/m20230713_144446_stripe_default_date_created.rs b/migration/src/m20230713_144446_stripe_default_date_created.rs index 29d15f9b..5eca6e4b 100644 --- a/migration/src/m20230713_144446_stripe_default_date_created.rs +++ b/migration/src/m20230713_144446_stripe_default_date_created.rs @@ -1,5 +1,4 @@ // TODO: Try to re-export timestamp from within sea-orm -use chrono; use sea_orm_migration::prelude::*; #[derive(DeriveMigrationName)] @@ -33,7 +32,7 @@ impl MigrationTrait for Migration { manager.exec_stmt(update_to_current_timestamp).await } - async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { + async fn down(&self, _manager: &SchemaManager) -> Result<(), DbErr> { // Do nothing ... Ok(()) } @@ -43,12 +42,5 @@ impl MigrationTrait for Migration { #[derive(Iden)] enum StripeIncreaseBalanceReceipt { Table, - Id, - StripePaymentIntendId, - Amount, - Currency, - Status, - DepositToUserId, - Description, DateCreated, }