```
./manage.py makemigrations <app_name>
```
If there are no changes detected by makemigrations, something wrong with your app. Check INSTALLED_APPS in settings.py for any error.
On Friday, 31 March 2023 at 22:17:06 UTC+8 Martin Heitmann wrote:
Hello everyoneI have a project with multiple apps in it. As database I use MariaDB. Have not touched it for a while, but now I had to add a field to the models of one app. makemigrations and migrate run without any indication of an error. But no change occurs in the db. Tested it with an altered models.py in another app and the result is the same. Do you have any advice how to narrow this down?Best regardsMartin
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3df9a5a4-657b-4bef-a124-a146b71d5882n%40googlegroups.com.
No comments:
Post a Comment