Skip to content

Commit

Permalink
Persistent database
Browse files Browse the repository at this point in the history
  • Loading branch information
huongnt3 committed Sep 19, 2021
1 parent ead9c04 commit 4850f58
Show file tree
Hide file tree
Showing 19 changed files with 6,541 additions and 4,944 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,9 @@ lerna-debug.log*
!.vscode/extensions.json

yarn.lock

#env
.env
.env.**
src/config/configuration.ts
ormconfig.js
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,18 @@ $ npm run test:e2e
$ npm run test:cov
```

## Support
## TypeORM migrations

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).

## Stay in touch

- Author - [Kamil Myśliwiec](https://kamilmysliwiec.com)
- Website - [https://nestjs.com](https://nestjs.com/)
- Twitter - [@nestframework](https://twitter.com/nestframework)
1. Using CLI command: refs https://typeorm.io/#/migrations/creating-a-new-migration
```bash
# comand work on .js file
typeorm migration:run
typeorm migration:revert

## License
# will create .ts file
typeorm migration:create
typeorm migration:generate

Nest is [MIT licensed](LICENSE).
# using ts-node
ts-node --transpile-only ./node_modules/typeorm/cli.js migration:run
```
Loading

0 comments on commit 4850f58

Please sign in to comment.