renameColumn('public','closed'); $table->boolean('access')->default(FALSE); $table->dropForeign(['cug_id']); $table->dropColumn('cug_id'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('frames', function (Blueprint $table) { $table->dropColumn('access'); $table->renameColumn('closed','public'); $table->integer('cug_id')->default(0); $table->foreign('cug_id')->references('id')->on('cugs'); }); } }