Reverting
typeorm migration:revert -- -d path-to-datasource-configLast updated
If for some reason you want to revert the changes, you can run:
typeorm migration:revert -- -d path-to-datasource-configThis command will execute down in the latest executed migration.
If you need to revert multiple migrations you must call this command multiple times.
Last updated