aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/ormconfig.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pipeline/src/ormconfig.ts')
-rw-r--r--packages/pipeline/src/ormconfig.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/pipeline/src/ormconfig.ts b/packages/pipeline/src/ormconfig.ts
new file mode 100644
index 000000000..48e316078
--- /dev/null
+++ b/packages/pipeline/src/ormconfig.ts
@@ -0,0 +1,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',
+ },
+};