瀏覽代碼

Fix migration not being supported by sqlite

Bubka 1 年之前
父節點
當前提交
53eef9e018
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      database/migrations/2023_12_06_131842_add_oauth_columns_to_user.php

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