let it fail
This commit is contained in:
parent
ca9a863138
commit
4dfef7a9f7
@ -6,14 +6,16 @@ pub struct Migration;
|
|||||||
#[async_trait::async_trait]
|
#[async_trait::async_trait]
|
||||||
impl MigrationTrait for Migration {
|
impl MigrationTrait for Migration {
|
||||||
async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> {
|
async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> {
|
||||||
manager
|
let _ = manager
|
||||||
.drop_foreign_key(
|
.drop_foreign_key(
|
||||||
ForeignKey::drop()
|
ForeignKey::drop()
|
||||||
.name("rpc_accounting_v2_ibfk_1")
|
.name("rpc_accounting_v2_ibfk_1")
|
||||||
.table(RpcAccountingV2::Table)
|
.table(RpcAccountingV2::Table)
|
||||||
.to_owned(),
|
.to_owned(),
|
||||||
)
|
)
|
||||||
.await
|
.await;
|
||||||
|
|
||||||
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn down(&self, _manager: &SchemaManager) -> Result<(), DbErr> {
|
async fn down(&self, _manager: &SchemaManager) -> Result<(), DbErr> {
|
||||||
|
Loading…
Reference in New Issue
Block a user