truncate(); Schema::table('settings', function (Blueprint $table) { $table->increments('id')->first(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('settings', function (Blueprint $table) { $table->dropColumn('id'); }); } }