浏览代码

add chmod 0666 on createDatabase platform Sqlite method

phpdevcommunity 7 月之前
父节点
当前提交
d88cbf7547
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Platform/SqlitePlatform.php

+ 1 - 0
src/Platform/SqlitePlatform.php

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