feat: enable ticketing for Fiesta Futbol Infantil catalog items; update services, migrations, seeders, and tests to reflect changes

This commit is contained in:
2026-08-10 14:13:46 -03:00
parent 6844ab7af9
commit 17f4cb6502
9 changed files with 39 additions and 6 deletions

View File

@@ -0,0 +1,22 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;
return new class extends Migration
{
public function up(): void
{
DB::table('catalog_items')
->where('tenant_code', 'fiesta_futbol_infantil')
->update(['has_tickets' => true]);
}
public function down(): void
{
DB::table('catalog_items')
->where('tenant_code', 'fiesta_futbol_infantil')
->where('event_product_type', 'producto')
->update(['has_tickets' => false]);
}
};