소스 검색

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