update global subvendedor

This commit is contained in:
Juan Felipe Duarte
2025-08-22 10:09:23 -07:00
parent 4042fab30b
commit a5aafd738d
10 changed files with 179 additions and 139 deletions
@@ -0,0 +1,22 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up()
{
Schema::table('configuraciones', function (Blueprint $table) {
$table->boolean('subvendedor')->default(false)->after('catalogo');
});
}
public function down()
{
Schema::table('configuraciones', function (Blueprint $table) {
$table->dropColumn('subvendedor');
});
}
};