$ yarn
- Make sure you have docker installed on your system, then run :
# watch mode
$ docker-compose up
- Make sure the docker container is up and running
- docker exec -it links_app yarn typeorm migration:create ./src/db/migrations/<MIGRATION_NAME>
After you have created your migration, run
- docker exec -it links_app yarn typeorm migration:run