Fix database migration down method

pull/833/head
Daniel Supernault 7 years ago
parent 78a5f0d52e
commit b79fdea270
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -27,8 +27,10 @@ class UpdateProfilesTable extends Migration
*/ */
public function down() public function down()
{ {
$table->dropColumn('unlisted'); Schema::table('profiles', function (Blueprint $table) {
$table->dropColumn('cw'); $table->dropColumn('unlisted');
$table->dropColumn('no_autolink'); $table->dropColumn('cw');
$table->dropColumn('no_autolink');
});
} }
} }

Loading…
Cancel
Save