1 2 3 4 5 6 7 8 9 10 11 12 13 14
import { ConnectionOptions } from 'typeorm'; export const config: ConnectionOptions = { type: 'sqlite', database: 'database.sqlite', synchronize: true, logging: false, entities: ['./lib/src/entities/**/*.js'], migrations: ['./lib/src/migrations/**/*.js'], cli: { entitiesDir: 'lib/src/entities', migrationsDir: 'lib/src/migrations', }, };