Просмотр исходного кода

Fix migration not being supported by sqlite

Bubka 1 год назад
Родитель
Сommit
53eef9e018

+ 3 - 0
database/migrations/2023_12_06_131842_add_oauth_columns_to_user.php

@@ -28,6 +28,9 @@ return new class extends Migration
     {
         Schema::table('users', function (Blueprint $table) {
             $table->dropColumn('oauth_id');
+        });
+
+        Schema::table('users', function (Blueprint $table) {
             $table->dropColumn('oauth_provider');
         });
     }