From 0a276f9bb58f07e6266b23bb53c5a621a4ee8b08 Mon Sep 17 00:00:00 2001 From: jinddings Date: Thu, 7 Nov 2024 17:03:40 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20chore=20:=20typeOrmModule?= =?UTF-8?q?=EC=9D=B4=20=EB=AA=A8=EB=93=A0=20entity=20=ED=8F=AC=ED=95=A8?= =?UTF-8?q?=ED=95=98=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD(#7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BE/src/app.module.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BE/src/app.module.ts b/BE/src/app.module.ts index 36681ad9..1628ef25 100644 --- a/BE/src/app.module.ts +++ b/BE/src/app.module.ts @@ -5,7 +5,6 @@ import { ScheduleModule } from '@nestjs/schedule'; import { AppController } from './app.controller'; import { AppService } from './app.service'; import { AuthModule } from './auth/auth.module'; -import { User } from './auth/user.entity'; import { StockIndexModule } from './stock/index/stock.index.module'; import { SocketService } from './websocket/socket.service'; import { SocketGateway } from './websocket/socket.gateway'; @@ -23,7 +22,7 @@ import { KoreaInvestmentModule } from './koreaInvestment/korea.investment.module username: process.env.DB_USERNAME, password: process.env.DB_PASSWD, database: process.env.DB_DATABASE, - entities: [User], + entities: [__dirname + '/../**/*.entity.{js,ts}'], synchronize: true, }), KoreaInvestmentModule,