From 5dbe7a254e786ce32d3c26513bcb38dd53221351 Mon Sep 17 00:00:00 2001 From: "bert.hausmans" Date: Fri, 10 Apr 2026 11:15:31 +0200 Subject: [PATCH] feat: section category and icon fields with Tabler IconPicker component Co-Authored-By: Claude Opus 4.6 (1M context) --- ...ry_and_icon_to_festival_sections_table.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 api/database/migrations/2026_04_08_205712_add_category_and_icon_to_festival_sections_table.php 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']); + }); + } +};