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