Edit file File name : 2023_01_25_134037_create_informations_table.php Content :<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateInformationsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('informations', function (Blueprint $table) { $table->integer('info_id', true); $table->integer('customer_id')->nullable()->index('customer_id'); $table->string('ip', 15)->nullable(); $table->integer('ddd1')->nullable(); $table->string('telefone1', 15)->nullable(); $table->integer('ddd2')->nullable(); $table->string('telefone2', 15)->nullable(); $table->integer('ddd3')->nullable(); $table->string('telefone3', 15)->nullable(); $table->string('nome', 60)->nullable(); $table->string('email', 60)->nullable(); $table->string('whatsapp', 20)->nullable(); $table->string('rg', 20)->nullable(); $table->string('cnh', 20)->nullable(); $table->string('cpf', 14)->nullable(); $table->string('renda', 22)->nullable(); $table->string('profissao', 50)->nullable(); $table->integer('estadocivil')->nullable(); $table->integer('genero')->nullable(); $table->string('nascimento', 10)->nullable(); $table->string('emissor', 30)->nullable(); $table->string('cep', 9)->nullable(); $table->string('rua', 50)->nullable(); $table->integer('numero')->nullable(); $table->string('bairro', 50)->nullable(); $table->string('cidade', 50)->nullable(); $table->string('uf', 2)->nullable(); $table->string('pais', 40)->nullable(); $table->string('complemento', 40)->nullable(); $table->integer('horario1')->nullable(); $table->integer('horario2')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('informations'); } } Save