Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望能够添加SQLite3支持 #34

Open
caspershw opened this issue Jul 24, 2022 · 0 comments
Open

希望能够添加SQLite3支持 #34

caspershw opened this issue Jul 24, 2022 · 0 comments

Comments

@caspershw
Copy link

有时候小规模部署,无需使用MySQL大动干戈,希望能够支持SQLite,轻度使用性能完全足够。
目前稍微测试了一下,有几个地方是不兼容的:

  • install.sql文件不兼容(解决方案:换用tp6原生的migrate工具,或者准备一份初始化好的db文件)
  • Admin.php 74行处命令不兼容SQLite,可以换成 Config::get('database.connections.mysql.type');之类的语句。
  • 直接将MySQL转为SQLite后,部分表自增的ID可能无法显示
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant