fix: forgot auto increment

This commit is contained in:
əlemi 2024-03-22 03:11:47 +01:00
parent 02ae091962
commit 80c38dc211
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -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()
) )