Fix database migration down method

pull/833/head
Daniel Supernault 2019-02-13 13:00:36 -07:00
rodzic 78a5f0d52e
commit b79fdea270
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

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