Put in order · NestJS course · Module 3: TypeORM and Databases
Database migration process
Arrange the steps of the database migration process from first to last:
Items to put in order
- Modify the entity (add/remove a column)
- Verify the changes in the database
- Generate the migration: typeorm migration:generate
- Run the migration: typeorm migration:run
You can check the correct answer by solving this task in the CodeWorlds game.