RenaiApp/ormconfig.yml

25 lines
609 B
YAML

# this file is only meant to generate migrations via the cli
# keep it up to date with src/main/core/database.ts
library:
type: better-sqlite3
database: ./test-paths/typeorm/library.db
cache: true
entities:
- ./src/main/entities/library/*.js
migrations:
- ./src/main/migrations/library/*.js
cli:
migrationsDir: ./src/main/migrations/library
store:
type: better-sqlite3
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