View file File name : 2023_01_25_134037_create_sectors_table.php Content :<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSectorsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('sectors', function (Blueprint $table) { $table->integer('sector_id', true); $table->string('sector', 25); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('sectors'); } }