Skip to content

Commit

Permalink
turn off initdb, switch backend port
Browse files Browse the repository at this point in the history
  • Loading branch information
mgtennant committed Mar 20, 2024
1 parent 341e961 commit 6c545fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ async function bootstrap() {
const document = SwaggerModule.createDocument(app, config);
SwaggerModule.setup('api', app, document);
const appService = app.get(AppService);
await appService.initializeDb();
// await appService.initializeDb();

await app.listen(3001);
await app.listen(3000);
}
bootstrap();
2 changes: 1 addition & 1 deletion backend/src/ormconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const config: TypeOrmModuleOptions = {
DocumentTemplate,
DocumentType,
],
synchronize: true,
synchronize: false,
};

export default config;

0 comments on commit 6c545fd

Please sign in to comment.