Edit file File name : 2023_01_25_134037_create_atendimentos_table.php Content :<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateAtendimentosTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('atendimentos', function (Blueprint $table) { $table->integer('atendimento_id', true); $table->integer('cc_id')->nullable(); $table->integer('customer_id')->nullable(); $table->integer('assistent_id')->nullable(); $table->string('duration', 8)->nullable(); $table->integer('status')->nullable()->default(1); $table->text('note')->nullable(); $table->boolean('remarketing')->nullable()->default(false); $table->integer('motivo_finalizacao')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('atendimentos'); } } Save