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(
|
||||
ColumnDef::new(Relations::Id)
|
||||
.integer()
|
||||
.auto_increment()
|
||||
.not_null()
|
||||
.primary_key()
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue