Commit Graph

9 Commits

Author SHA1 Message Date
Xymorot 588486f4da meta: add infos about better-sqlite3 and typeorm config 2020-11-09 20:30:28 +01:00
Xymorot 288deee56f refactor: use a new database for the store
BREAKING CHANGE: old file-based store data is lost
2020-04-22 02:06:02 +02:00
Xymorot 60eb8fb9fa feat: enable caching in typeorm connection options
The cache still needs to be explicitly used in each query, this commit only enables the orm to do so.
2020-04-22 02:06:01 +02:00
Xymorot aeff7f7b51 feat: update typeorm entities and reset database migrations
BREAKING CHANGE: this commits deletes old database migrations
2020-04-10 05:27:31 +02:00
Xymorot e02e0d97e0 feat: use userData electron path for database (subfolder with version)
This has the side effect of no more ormconfig.yml file, and the database connections are now only loaded on demand (as well as running the migrations).

BREAKING CHANGE: there is no migration for the old database
2019-12-10 23:33:48 +01:00
Xymorot cd22df6f07 test: add test framework (spectron + mocha), combined with refactoring of the directory structures 2019-11-20 23:21:24 +01:00
Xymorot b67924532e refactor entity folder structure 2019-06-23 17:30:51 +02:00
Xymorot f2d30d00f6 add database migrations 2019-06-23 03:33:48 +02:00
Xymorot 74f76a83fb install sqlite3 and typeorm together with electron-rebuild, create first entities 2019-06-23 02:30:24 +02:00