How to makemigrations django 2.2.9 multiple DB

38 views Asked by At

So I am working in a legacy project with a Django 2.2.9 and here we have 3 DBs, nobody migrated on two additional databases ever, and now its time to do it, but nobody knows how to do it on django 2.2.9 on a database that is not default... I tried writing migration manually and running it - didnt help

python manage.py makemigrations No changes detected

Any help?

1

There are 1 answers

0
oikawatoru On

I had this under my model: class Meta: managed = False

only now after few hours understood that it was preventing makemigrations :)