database/migrations/2022_04_19_114911_remove_not_used_columns_from_consultations_table.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class RemoveNotUsedColumnsFromConsultationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('consultations', function (Blueprint $table) {
$table->dropColumn('base_price');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('consultations', function (Blueprint $table) {
$table->integer('base_price')->nullable();
});
}
}