File size: 795 Bytes
6f1c297
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const sql_highlighter_1 = require("@mikro-orm/sql-highlighter");
const reflection_1 = require("@mikro-orm/reflection");
const core_1 = require("@mikro-orm/core");
const config = {
    dbName: 'cluster.sqlite3',
    type: 'sqlite',
    autoLoadEntities: true,
    entities: ['dist/**/*.entity.js'],
    entitiesTs: ['src/**/*.entity.ts'],
    debug: true,
    loadStrategy: core_1.LoadStrategy.JOINED,
    highlighter: new sql_highlighter_1.SqlHighlighter(),
    metadataProvider: reflection_1.TsMorphMetadataProvider,
    registerRequestContext: false,
    migrations: {
        path: 'dist/migrations',
        pathTs: 'src/migrations',
    },
};
exports.default = config;
//# sourceMappingURL=mikro-orm.config.js.map