Skip to content

Commit

Permalink
⚙️ chore : typeOrmModule이 모든 entity 포함하도록 변경(#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinddings committed Nov 7, 2024
1 parent 5d5318b commit 0a276f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions BE/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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,
Expand Down

0 comments on commit 0a276f9

Please sign in to comment.