Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This means that all migrations have already been executed in the database and there are no new migrations added since the last time the migrations were run. If you want to check the status of your migrations, you can use the command:

typeorm migration:status

This will show you what migrations are currently executed in the database and what migrations are still pending. If you want to create a new migration, you can use the command:

typeorm migration:create -n <MigrationName>

This will create a new migration file in the src/migrations directory with the specified name. You can then write your migration code in the newly created file and run the migration using:

typeorm migration:run

This will execute any new migrations that have not yet been executed in the database.