Commit graph

5 commits

Author SHA1 Message Date
Gauthier Roebroeck
20b2b39d36 feat: change database from H2 to SQLite
This is a major change, but done transparently.

At startup, a migration from H2 to SQLite will be triggered:
- if the H2 database is a file (not in memory)
- if the H2 database has not been migrated yet
- if the SQLite database is newly minted

All the data will be transferred from H2 to SQLite before the startup of the application (before the API can serve any requests).
After the migration, an empty file will be stored next to the H2 database file (same name with ".imported" suffix).

The H2 database files will be automatically removed in a later version.

A new configuration key is available to customize the file path of the SQLite database: `komga.database.file`

The database backup feature has been removed. It might be re-added later on using a different logic.

The IDs of entities have been changed from number to string in the API.

closes #218
2020-07-16 07:54:53 +08:00
Gauthier Roebroeck
47dd2f66e0 feat(api): claim status
remove the claim profile
added noclaim profile that will create initial user accounts if none exist

related to #207
2020-07-05 11:59:20 +08:00
Gauthier Roebroeck
331ce12806 docs: add requirements to DEVELOPING.md 2020-06-19 17:35:03 +08:00
Gauthier Roebroeck
2b1290dde7 docs: update DEVELOPING.md with profile changes 2020-03-05 21:01:16 +08:00
Gauthier Roebroeck
46e1b9b137 docs: add development guidelines 2020-02-25 14:57:58 +08:00