TypeORM CLI
typeormCommand-line interface of the TypeORM object-relational mapper.
Command-line interface of the TypeORM object-relational mapper.
Run schema and migration commands against a configured connection.
typeorm migration:runRun all pending migrations.
configconnectiontransactionstring--connection-cpath--config-fboolean--transaction-ttypeorm migration:revertRevert the last executed migration.
configconnectiontransactionstring--connection-cpath--config-fboolean--transaction-ttypeorm migration:showList migrations and whether they ran.
configconnectionstring--connection-cpath--config-ftypeorm migration:generateCreate a migration from schema differences.
nameconfigdirprettynameconfigdryrunstring--name-nstring--connection-cpath--config-fpath--dir-dboolean--pretty-pboolean--outputJs-oboolean--dryrun--drtypeorm schema:syncSynchronize entities with the database schema; this can alter or drop tables.
configconnectionstring--connection-cpath--config-ffigcompletionfigcompletionfigcompletionfigcompletionfigcompletionfigcompletionBefore it fills your prompt, Otty checks the installed typeorm against its version. A form that does not match your version is not offered.