From 6d9660929c8040abab43828b0e3d03ff59168ba2 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 29 Jun 2019 15:58:04 +0900 Subject: [PATCH] Revert "Update ormconfig.ts" This reverts commit 5a349eb3766d84b9a9af46930e60dcf6c4ab0688. --- src/ormconfig.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/ormconfig.ts b/src/ormconfig.ts index a575f994e..6b7297b2c 100644 --- a/src/ormconfig.ts +++ b/src/ormconfig.ts @@ -1,6 +1,5 @@ import * as fs from 'fs'; import config from './config'; -import { entities as charts } from './services/chart/entities'; const json = { type: 'postgres', @@ -10,10 +9,7 @@ const json = { password: config.db.pass, database: config.db.db, extra: config.db.extra, - entities: [ - 'src/models/entities/*.ts', - ...charts as any - ], + entities: ['src/models/entities/*.ts'], migrations: ['migration/*.ts'], cli: { migrationsDir: 'migration'