#26053: makemigrations generates a wrong type for a DurationField column on
postgresql
-------------------------------------+-------------------------------------
     Reporter:  benjellounayoub      |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.9
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |  worksforme
     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
-------------------------------------+-------------------------------------
Changes (by timgraham):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Can you double check you didn't make a mistake (i.e. delete the migration
 and re-run `makemigrations`)?  It's unthinkable to me that Django would
 transform `DurationField()` to `FloatField(blank=True, default=0,
 null=True))`.

--
Ticket URL: <https://code.djangoproject.com/ticket/26053#comment:3>
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.43b12704b58ffbb8d7f15cac2cce9357%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to