mirror of
https://github.com/usememos/memos.git
synced 2024-12-21 02:01:55 +03:00
c8961ad489
* fix: database is locked The option "_journal_mode=WAL" is currently *not* being applied when provided in the DSN. This issue affects only new memos installations, not older ones where the database journal was properly set to WAL mode by the previous sqlite library go-sqlite3. modernc.org/sqlite DSN parsing is different from go-sqlite3. It requires the `_pragma=` prefix and even some options order matter. https://gitlab.com/cznic/sqlite/-/issues/115 Closes #1985 * chore: upgraded notes on sqlite DSN |
||
---|---|---|
.. | ||
migration | ||
seed | ||
db.go | ||
migration_history.go |