smallInteger('security')->unsigned()->nullable(); }); Schema::table('fileareas',function (Blueprint $table) { $table->smallInteger('security')->unsigned()->nullable(); }); Schema::table('addresses',function (Blueprint $table) { $table->smallInteger('security')->unsigned()->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { DB::statement('ALTER TABLE echoareas RENAME COLUMN show TO public'); DB::statement('ALTER TABLE fileareas RENAME COLUMN show TO public'); Schema::table('echoareas',function (Blueprint $table) { $table->dropColumn(['security']); }); Schema::table('fileareas',function (Blueprint $table) { $table->dropColumn(['security']); }); Schema::table('addresses',function (Blueprint $table) { $table->dropColumn(['security']); }); } };