change adding origin to be if_not_exists
This commit is contained in:
parent
0f16fdb97a
commit
c7f86bf54b
@ -15,7 +15,7 @@ impl MigrationTrait for Migration {
|
|||||||
.big_unsigned()
|
.big_unsigned()
|
||||||
.null(),
|
.null(),
|
||||||
)
|
)
|
||||||
.add_column(ColumnDef::new(RpcAccounting::Origin).string().null())
|
.add_column_if_not_exists(ColumnDef::new(RpcAccounting::Origin).string().null())
|
||||||
.to_owned(),
|
.to_owned(),
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
|
Loading…
Reference in New Issue
Block a user