Coding task · NestJS course · Module 3: TypeORM and Databases

Migration class

Write a migration class with up and down methods.

Task

Create a CreateLegionaryTable migration with an up() method that creates the table and a down() method that drops it