Closed PhilWun closed 1 year ago
The problem appears to be this line:
Here the collate NOCASE
is set. This is correct for a sqlite database, but for a postgresql database it should be POSIX
(see here).
Unfortunately, we (currently) need both collates (NOCASE
and POSIX
) for running this project with docker (postresql) and without docker (sqlite).
If you know of a way to specify this collation info only for certain dialects of SQLAlchemy (maybe with a dynamic callback), then we could solve it that way.
Other potential other solutions are:
We also need to account for the existing migration...
This error appears when
GET
ing/api/templates/
while using Postgres.