This commit is contained in:
Felipe
2023-10-09 17:23:56 -05:00
parent 8dc97fb2df
commit d21d256551
3 changed files with 66 additions and 3 deletions
@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('tarifa_promos', function (Blueprint $table) {
$table->string('utilidad')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('tarifa_promos', function (Blueprint $table) {
$table->dropColumn('utilidad');
});
}
};