Fix database migration down method

This commit is contained in:
Daniel Supernault 2019-02-13 13:00:36 -07:00
parent 78a5f0d52e
commit b79fdea270
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 5 additions and 3 deletions

View File

@ -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');
});
}
}