diff --git a/database/migrations/2018_07_26_130617_add_verification_to_users_table.php b/database/migrations/2018_07_26_130617_add_verification_to_users_table.php index 9695a053..2e79e318 100644 --- a/database/migrations/2018_07_26_130617_add_verification_to_users_table.php +++ b/database/migrations/2018_07_26_130617_add_verification_to_users_table.php @@ -25,6 +25,13 @@ class AddVerificationToUsersTable extends Migration */ public function down() { + if (config('database.default') == 'sqlite') { + // Dropping columns from a SQLite database requires `doctrine/dbal` dependency. + // However, we won't install it because it's too hard to specify the version of + // all the new dependencies exactly to make them support PHP ^5.5.9. Damn it. + return; + } + Schema::table('users', function (Blueprint $table) { $table->dropColumn('verified'); $table->dropColumn('verification_token');