#27871: Django keeps making the same migration over and over again
-------------------------------+--------------------------------------
Reporter: Kyle Agronick | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by Kyle Agronick):
You would probably need to run my create table scripts and load in my
migrations on a MySQL DB.
Changing job to Job in the name part of CreateModel seems to have fixed
it. I don't know why, but at somepoint after squashing the migrations this
became an issue.
{{{
migrations.CreateModel(
name='Job',
fields=[
('id', models.AutoField(auto_created=True,
primary_key=True, serialize=False, verbose_name='ID')),
('state', models.CharField(choices=[('P', 'Pending'),
('A', 'Active'), ('C', 'Completed'), ('F', 'Failed')], default='P',
max_length=1)),
('start_date', models.DateTimeField()),
('end_date', models.DateTimeField()),
],
),
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27871#comment:9>
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/066.ff2e8d6a5f55428c67bd7c96095eebac%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.