diff --git a/database/migrations/2019_01_11_005556_update_profiles_table.php b/database/migrations/2019_01_11_005556_update_profiles_table.php index 829bedbc4..53eca4d26 100644 --- a/database/migrations/2019_01_11_005556_update_profiles_table.php +++ b/database/migrations/2019_01_11_005556_update_profiles_table.php @@ -27,8 +27,10 @@ class UpdateProfilesTable extends Migration */ public function down() { - $table->dropColumn('unlisted'); - $table->dropColumn('cw'); - $table->dropColumn('no_autolink'); + Schema::table('profiles', function (Blueprint $table) { + $table->dropColumn('unlisted'); + $table->dropColumn('cw'); + $table->dropColumn('no_autolink'); + }); } }