From 80c38dc21159d28398676618613dea151a919f43 Mon Sep 17 00:00:00 2001 From: alemi Date: Fri, 22 Mar 2024 03:11:47 +0100 Subject: [PATCH] fix: forgot auto increment --- src/migrations/m20240322_000001_create_relations.rs | 1 + 1 file changed, 1 insertion(+) 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() )