This commit is contained in:
Bryan Stitt 2023-07-13 18:12:07 -07:00
parent 45af241429
commit 46127149b9

@ -1,5 +1,4 @@
// TODO: Try to re-export timestamp from within sea-orm // TODO: Try to re-export timestamp from within sea-orm
use chrono;
use sea_orm_migration::prelude::*; use sea_orm_migration::prelude::*;
#[derive(DeriveMigrationName)] #[derive(DeriveMigrationName)]
@ -33,7 +32,7 @@ impl MigrationTrait for Migration {
manager.exec_stmt(update_to_current_timestamp).await 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 ... // Do nothing ...
Ok(()) Ok(())
} }
@ -43,12 +42,5 @@ impl MigrationTrait for Migration {
#[derive(Iden)] #[derive(Iden)]
enum StripeIncreaseBalanceReceipt { enum StripeIncreaseBalanceReceipt {
Table, Table,
Id,
StripePaymentIntendId,
Amount,
Currency,
Status,
DepositToUserId,
Description,
DateCreated, DateCreated,
} }