diff --git a/src/migrations/m20240322_000001_create_relations.rs b/src/migrations/m20240322_000001_create_relations.rs index 00912295..6eea2142 100644 --- a/src/migrations/m20240322_000001_create_relations.rs +++ b/src/migrations/m20240322_000001_create_relations.rs @@ -14,6 +14,7 @@ impl MigrationTrait for Migration { .col( ColumnDef::new(Relations::Id) .integer() + .auto_increment() .not_null() .primary_key() )