lint
This commit is contained in:
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,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user