string('group')->nullable()->after('key'); }); } } /** * Reverse the migrations. * * @return void */ public function down() { if (Schema::hasTable('attachments')) { Schema::table('attachments', function (Blueprint $table) { $table->dropColumn('group'); }); } } }