Commit 00a5ff00 authored by Diego Iván's avatar Diego Iván
Browse files

habilitando en loggeo de typeorm

parent c58de1b0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ import { join } from 'path';
import { Town } from './town/entities/town.entity';
import { TownModule } from './town/town.module';
import { TownTraduction } from './town/entities/town-traduction.entity';

@Module({
  imports: [
    TypeOrmModule.forRoot({
@@ -28,6 +29,7 @@ import { TownTraduction } from './town/entities/town-traduction.entity';
      database: DbConstants.DB_NAME,
      entities: [Admin, User, State, Town, TownTraduction],
      synchronize: DbConstants.DB_SYNC,
      logging: true,
    }),
    AuthAdminModule,
    AdminModule,
@@ -42,5 +44,6 @@ import { TownTraduction } from './town/entities/town-traduction.entity';
  ],
  controllers: [AppController],
  providers: [AppService, DatabaseSeederModule],
  exports: [TypeOrmModule],
})
export class AppModule {}