flarum / framework

Simple forum software for building great communities.
http://flarum.org/
6.23k stars 830 forks source link

feat: add support for `SQLite` #3984

Closed SychO9 closed 2 weeks ago

SychO9 commented 2 months ago

Part of the roadmap

Changes proposed in this pull request: Adds support for installing and using Flarum with SQLite 3.8.8+

While it is trivial to support it from core (apart from a couple exceptions where queries needed to be adapted), whether third party extensions will work with sqlite is a different matter. So I've added a warning about that on the installation page.

Screenshot image image

Necessity

Confirmed

Required changes:

SychO9 commented 2 months ago

is it possible to catch syntax errors, and in the error message, flag use of sqllite as a possible culprit?

Done in the pgsql branch

image

SychO9 commented 1 month ago

great idea @jaggy! will add that in the PgSQL PR which builds on top of this branch: https://github.com/flarum/framework/pull/3985

SychO9 commented 1 month ago

added in https://github.com/flarum/framework/pull/3985#issuecomment-2152822982