dropColumn('executable'); $table->renameColumn('file', 'folder'); $table->text('description')->nullable()->change(); $table->text('startup')->nullable()->change(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('services', function (Blueprint $table) { $table->string('executable')->after('folder'); $table->renameColumn('folder', 'file'); $table->text('description')->nullable(false)->change(); $table->text('startup')->nullable(false)->change(); }); } }