forked from alemi/upub
fix: forgot auto increment
This commit is contained in:
parent
02ae091962
commit
80c38dc211
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ impl MigrationTrait for Migration {
|
||||||
.col(
|
.col(
|
||||||
ColumnDef::new(Relations::Id)
|
ColumnDef::new(Relations::Id)
|
||||||
.integer()
|
.integer()
|
||||||
|
.auto_increment()
|
||||||
.not_null()
|
.not_null()
|
||||||
.primary_key()
|
.primary_key()
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue