Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 411 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 411 Bytes

typeorm-playground

TypeORM throguh CLI

To create an empty migration file run:

npm run migration:create --name=NameOfMigration

To automatically generate a migration file run:

npm run migration:generate --name=NameOfMigration

To run a migration file:

npm run migration:run

To revert a migration file:

npm run migration:revert