feat: enable full cart editing for Desfile tenant and update related tests
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
private const TENANT_CODE = 'desfile_pura_tendencia';
|
||||
|
||||
public function up(): void
|
||||
{
|
||||
DB::table('tenants')
|
||||
->where('codigo', self::TENANT_CODE)
|
||||
->update(['cart_editing_policy' => 'full']);
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
DB::table('tenants')
|
||||
->where('codigo', self::TENANT_CODE)
|
||||
->update(['cart_editing_policy' => 'disabled']);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user