#26053: makemigrations generates a wrong type for a DurationField column on
postgresql
-------------------------------------+-------------------------------------
Reporter: benjellounayoub | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 1.9
(models, ORM) |
Severity: Normal | Resolution:
Keywords: makemigrations, | Triage Stage:
DurationField, postgresql, | Unreviewed
psycopg2 |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by timgraham):
Could you please provide a sample project with steps to reproduce it? For
the provided model, I'm still seeing this for the 1.9 branch:
{{{
migrations.CreateModel(
name='Foo',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True,
serialize=False, verbose_name='ID')),
('bar', models.DurationField()),
],
),
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26053#comment:7>
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/073.3508dc8d81da11cb0f459af4254d7b15%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.