Forrest logo
back to context overview

typeorm

List of commands for typeorm:

  • typeorm:tldr:0c1ce typeorm: Run all pending migrations.
    $ typeorm migration:run
    try on your machine
    explain this command
  • typeorm:tldr:4ad70 typeorm: Display help for a subcommand.
    $ typeorm ${subcommand} --help
    try on your machine
    explain this command
  • typeorm:tldr:5840d typeorm: Create an empty migration file.
    $ typeorm migration:create --name ${migration_name}
    try on your machine
    explain this command
  • typeorm:tldr:61162 typeorm: Create a migration file with the SQL statements to update the schema.
    $ typeorm migration:generate --name ${migration_name}
    try on your machine
    explain this command
  • typeorm:tldr:75b3d typeorm: Execute a specific SQL statement on the default connection.
    $ typeorm query ${sql_sentence}
    try on your machine
    explain this command
  • typeorm:tldr:8851e typeorm: Generate a new initial TypeORM project structure.
    $ typeorm init
    try on your machine
    explain this command
  • typeorm:tldr:b484c typeorm: Create a new entity file in a specific directory.
    $ typeorm entity:create --name ${entity} --dir ${path-to-directory}
    try on your machine
    explain this command
  • typeorm:tldr:f5564 typeorm: Display the SQL statements to be executed by `typeorm schema:sync` on the default connection.
    $ typeorm schema:log
    try on your machine
    explain this command
back to context overview