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