Browse Source

add chmod 0666 on createDatabase platform Sqlite method

phpdevcommunity 7 months ago
parent
commit
d88cbf7547
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Platform/SqlitePlatform.php

+ 1 - 0
src/Platform/SqlitePlatform.php

@@ -130,6 +130,7 @@ class SqlitePlatform extends AbstractPlatform
         }
         }
 
 
         touch($database);
         touch($database);
+        chmod($database, 0666);
     }
     }
 
 
     public function createDatabaseIfNotExists(): void
     public function createDatabaseIfNotExists(): void