migrations not running
See original GitHub issuehi, my migrations are not running anymore. I executed the last migrate ~4 weeks ago, and afterwards i updated typeorm. That’s why i noticed the behaviour not until now.
ormconfig.env:
TYPEORM_CONNECTION = mysql
TYPEORM_HOST = localhost
TYPEORM_PORT = 3306
TYPEORM_USERNAME = root
TYPEORM_PASSWORD =
TYPEORM_DATABASE = typeormtable
TYPEORM_AUTO_SCHEMA_SYNC = true
TYPEORM_ENTITIES = models/*.js
TYPEORM_SUBSCRIBERS =
TYPEORM_MIGRATIONS = migrations/*.js
TYPEORM_ENTITIES_DIR = models
TYPEORM_MIGRATIONS_DIR = migrations
TYPEORM_SUBSCRIBERS_DIR =
I am using "typeorm": "0.1.0-alpha.26"
and running TypeScript Version 2.4.1
The migrations are neither executed on startup, nor by executing typeorm migrations:run
-> the cl command results in:
no migrations pending
There are also no entries added into the migrations-table.
Greetings, Messerbill
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
One of my migrations is not running with the php artisan ...
3 Answers 3 · Delete the tables and columns the migration is supposed to create if they are still there. · Rename the...
Read more >migrations doesnt run even after doing everything · Issue #5103
I am working on a project with typeorm on nestjs. the problem is even after running mgration after generating migration files, i get...
Read more >Django migrations are not running - Fly.io
Hello, I've got a small django app in a fly instance. Recently, I added some migrations and wanted to run them.
Read more >Tutorial: Use EF Migrations in an ASP.NET MVC app and ...
In this tutorial, you enable Code First migrations and deploy the application to the cloud in Azure.
Read more >Migrations - Django documentation
Migrations ¶. Migrations are Django's way of propagating changes you make to your models (adding a field, deleting a model, etc.) into your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
can you try to use
ormconfig.json
instead of env variables?Closing as no answer from reporter