From 57860a8755504d3676753377126d52b5288a9e5c Mon Sep 17 00:00:00 2001 From: "Nils." <81931103+utigernils@users.noreply.github.com> Date: Sat, 4 Oct 2025 11:47:40 +0200 Subject: [PATCH] Update 03_2025_10_03_225025_create_chapters_table.php --- .../migrations/03_2025_10_03_225025_create_chapters_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backend/database/migrations/03_2025_10_03_225025_create_chapters_table.php b/apps/backend/database/migrations/03_2025_10_03_225025_create_chapters_table.php index ad6cd2d..ae4c0a9 100644 --- a/apps/backend/database/migrations/03_2025_10_03_225025_create_chapters_table.php +++ b/apps/backend/database/migrations/03_2025_10_03_225025_create_chapters_table.php @@ -13,7 +13,7 @@ public function up(): void Schema::create('chapters', function (Blueprint $table) { $table->char('id', 36)->primary(); $table->char('project_id', 36); - $table->integer('position'); + $table->integer('position')->default(0); $table->string('type'); $table->string('title'); $table->text('subtitle');