Skip to content

Commit

Permalink
fx:(app) add removal of db
Browse files Browse the repository at this point in the history
  • Loading branch information
masamarux committed Jul 23, 2024
1 parent ec9e329 commit d37d941
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { TypeOrmModule } from '@nestjs/typeorm';
// import { TypeOrmModule } from '@nestjs/typeorm';

@Module({
imports: [
TypeOrmModule.forRoot({
type: 'mysql',
host: 'mysql',
port: 3306,
username: 'admin',
password: 'root',
database: 'rocketseat-db',
entities: [],
synchronize: true,
}),
// TypeOrmModule.forRoot({
// type: 'mysql',
// host: 'mysql',
// port: 3306,
// username: 'admin',
// password: 'root',
// database: 'rocketseat-db',
// entities: [],
// synchronize: true,
// }),
],
controllers: [AppController],
providers: [AppService],
Expand Down

0 comments on commit d37d941

Please sign in to comment.