#30174: Forgotten migrations in Django 2.1.6
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
mjholtkamp |
Type: Bug | Status: new
Component: | Version: 2.1
contrib.auth | Keywords: 2.1.6 migration
Severity: Normal | auth
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
Unless I'm mistaken, I think models were changed from 2.1.5 to 2.1.6 but
new migration files were not created.
This currently breaks our build because we check for 'forgotten'
migrations, so we have to stick to 2.1.5 or change our check to exclude
this migration.
== Steps to reproduce
{{{
python3 -m venv venv
source venv/bin/activate
pip install django
django-admin startproject mwe
cd mwe
python manage.py makemigrations
}}}
== Result
{{{
Migrations for 'auth':
/Users/michiel/tmmmp/venv/lib/python3.6/site-
packages/django/contrib/auth/migrations/0012_auto_20190211_1115.py
- Alter field name on group
}}}
== Expected result
{{{
No changes detected
}}}
== Suggested fix
run 'makemigrations', commit the file and re-publish :-)
--
Ticket URL: <https://code.djangoproject.com/ticket/30174>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/053.89172fc236d12d6743aa048bbb793f4c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.