typeorm migration:revert

Reverts last executed migration

Options

NameDescription
--helpShow help for command
-c, --connection <connection>Name of the connection on which to run a query
-t, --transactionIndicates if transaction should be used or not for migration revert
-f, --config <file>Name of the file with connection configuration
-v, --versionShow the version