antes de comenzar la vista tarifas

This commit is contained in:
Juan Felipe Duarte
2025-06-16 16:30:10 -07:00
parent 9425f519cc
commit 6eb6e3bd2f
8 changed files with 113 additions and 95 deletions
@@ -6,11 +6,6 @@ use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('tarifas', function (Blueprint $table) {
@@ -18,11 +13,6 @@ return new class extends Migration
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('tarifas', function (Blueprint $table) {
@@ -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('tarifas', function (Blueprint $table) {
$table->string('subvendedor_id')->nullable()->after('utilidad');
});
}
public function down()
{
Schema::table('tarifas', function (Blueprint $table) {
$table->dropColumn('subvendedor_id');
});
}
};