Skip to content

Commit 6647b58

Browse files
committed
chore: remove db from api
1 parent d9610f7 commit 6647b58

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

src/app.module.ts

+10-11
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
import { Module } from '@nestjs/common';
2-
import { TypeOrmModule } from '@nestjs/typeorm';
32
import { AppController } from './app.controller';
43
import { AppService } from './app.service';
54

65
@Module({
76
imports: [
8-
TypeOrmModule.forRoot({
9-
type: 'mysql',
10-
host: 'mysql',
11-
port: 3306,
12-
username: 'admin',
13-
password: 'root',
14-
database: 'rocketseat-db',
15-
entities: [],
16-
synchronize: true,
17-
}),
7+
// TypeOrmModule.forRoot({
8+
// type: 'mysql',
9+
// host: 'mysql',
10+
// port: 3306,
11+
// username: 'admin',
12+
// password: 'root',
13+
// database: 'rocketseat-db',
14+
// entities: [],
15+
// synchronize: true,
16+
// }),
1817
],
1918
controllers: [AppController],
2019
providers: [AppService],

0 commit comments

Comments
 (0)