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