Fix migration

This commit is contained in:
Daniel Supernault 2018-08-26 18:50:20 -06:00
parent 37fc5c1620
commit 1c619701b3
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 6 additions and 4 deletions

View File

@ -28,9 +28,11 @@ class UpdateSettingsTable extends Migration
*/
public function down()
{
$table->dropColumn('show_profile_followers');
$table->dropColumn('show_profile_follower_count');
$table->dropColumn('show_profile_following');
$table->dropColumn('show_profile_following_count');
Schema::table('user_settings', function (Blueprint $table) {
$table->dropColumn('show_profile_followers');
$table->dropColumn('show_profile_follower_count');
$table->dropColumn('show_profile_following');
$table->dropColumn('show_profile_following_count');
});
}
}