I would check in the django_migrations table to ensure that the migration
has successfully been run.



From: 'Martin Heitmann' via Django users <[email protected]>
<[email protected]>
Reply: [email protected] <[email protected]>
<[email protected]>
Date: 31 March 2023 at 19:46:02
To: Django users <[email protected]>
<[email protected]>
Subject:  Migration running in shell, but no change in DB

Hello everyone
>
> I 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 regards
> Martin
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/be9ef414-4b51-4072-a1b7-b7ba036016aan%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/be9ef414-4b51-4072-a1b7-b7ba036016aan%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAE5VhgWyDBU4_Go05cVHH2Q70nWnNXrmEbX8-g%3DQ4V%3DcLVpSMA%40mail.gmail.com.

Reply via email to