1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 08:14:10 +00:00

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

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