Skip to content

Commit

Permalink
Merge pull request #41 from plus-tdd/feature/alarm
Browse files Browse the repository at this point in the history
db 싱크로나이즈 true
  • Loading branch information
codeing999 authored Jul 18, 2023
2 parents 36c725b + 1b26a3f commit 9dc0411
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ import { DoctorEntity } from './module/doctor/data/doctor.entity';
@Module({
imports: [
ConfigModule.forRoot({
isGlobal: true,
envFilePath:`.env.${process.env.NODE_ENV}`}),
isGlobal: true,
envFilePath: `.env.${process.env.NODE_ENV}`,
}),

TypeOrmModule.forRoot({
type: 'mysql',
Expand All @@ -43,7 +44,7 @@ import { DoctorEntity } from './module/doctor/data/doctor.entity';
username: process.env.DB_USER,
password: process.env.DB_PW,
database: process.env.DB_SCHEMA,
synchronize: false,
synchronize: true,
dropSchema: false,
entities: [
CounselingEntity,
Expand Down

0 comments on commit 9dc0411

Please sign in to comment.