2020-04-10 04:04:13 +02:00
|
|
|
# this file is only meant to generate migrations via the cli
|
2020-11-09 20:30:28 +01:00
|
|
|
# keep it up to date with src/main/core/database.ts
|
2020-04-10 04:04:13 +02:00
|
|
|
|
|
|
|
library:
|
2020-11-09 20:30:28 +01:00
|
|
|
type: better-sqlite3
|
2020-04-10 04:04:13 +02:00
|
|
|
database: ./test-paths/typeorm/library.db
|
2020-04-22 00:02:37 +02:00
|
|
|
cache: true
|
2020-04-10 04:04:13 +02:00
|
|
|
entities:
|
|
|
|
- ./src/main/entities/library/*.js
|
|
|
|
migrations:
|
|
|
|
- ./src/main/migrations/library/*.js
|
|
|
|
cli:
|
|
|
|
migrationsDir: ./src/main/migrations/library
|
2020-04-22 01:59:20 +02:00
|
|
|
|
|
|
|
store:
|
2020-11-09 20:30:28 +01:00
|
|
|
type: better-sqlite3
|
2020-04-22 01:59:20 +02:00
|
|
|
database: ./test-paths/typeorm/store.db
|
|
|
|
cache: true
|
|
|
|
entities:
|
|
|
|
- ./src/main/entities/store/*.js
|
|
|
|
migrations:
|
|
|
|
- ./src/main/migrations/store/*.js
|
|
|
|
cli:
|
|
|
|
migrationsDir: ./src/main/migrations/store
|