diff --git a/api/database/migrations/2026_04_08_205712_add_category_and_icon_to_festival_sections_table.php b/api/database/migrations/2026_04_08_205712_add_category_and_icon_to_festival_sections_table.php new file mode 100644 index 0000000..f80f640 --- /dev/null +++ b/api/database/migrations/2026_04_08_205712_add_category_and_icon_to_festival_sections_table.php @@ -0,0 +1,28 @@ +string('category', 50)->nullable()->after('name'); + $table->string('icon', 50)->nullable()->after('category'); + $table->index(['event_id', 'category']); + }); + } + + public function down(): void + { + Schema::table('festival_sections', function (Blueprint $table) { + $table->dropIndex(['event_id', 'category']); + $table->dropColumn(['category', 'icon']); + }); + } +};