feat(tenant): update display_categories to true for onticket multi-event storefront
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
DB::table('tenants')
|
||||
->where('codigo', 'onticket')
|
||||
->where('storefront_website_type_code', 'onticket_multi_event')
|
||||
->update(['display_categories' => true, 'updated_at' => now()]);
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
// Retain the tenant setting because an administrator may have changed it.
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user