Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29243

Not able to generate migrations in docker django application

$
0
0

I am trying to run migrations in the Django application that is using docker but the changes are not reflecting. I had no issue with the initial migrations but after that, if I make any changes to my models that are not reflected in the migrations and it keeps generating initial migrations.

I am not able to find any migration file too maybe that is causing this problem but I am not able to find any solution.

I am using amazon RDS as database and application is also hosted on AWS and I am using this command for migrations.

docker-compose -f production.yml run django python manage.py makemigrations app_name


Viewing all articles
Browse latest Browse all 29243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>