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');