Fixup
This commit is contained in:
parent
36886e74cd
commit
3d5f4424a8
@ -150,7 +150,7 @@ pub async fn create_table_without_asserts(
|
||||
if builder != DbBackend::Sqlite {
|
||||
let stmt = builder.build(
|
||||
Table::drop()
|
||||
.table(Alias::new(create.get_table_name().unwrap().as_ref()))
|
||||
.table(create.get_table_name().unwrap().clone())
|
||||
.if_exists()
|
||||
.cascade(),
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user