aboutsummaryrefslogblamecommitdiffstats
path: root/packages/pipeline/src/ormconfig.ts
blob: 48e316078b7a41581d91fadeb90f64e7f635aa2b (plain) (tree)
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',
    },
};