#26895: An issue migrating from django 1.6 to django 1.8.4
---------------------------------+--------------------
     Reporter:  mwaaas           |      Owner:  nobody
         Type:  Bug              |     Status:  new
    Component:  contrib.auth     |    Version:  1.8
     Severity:  Release blocker  |   Keywords:
 Triage Stage:  Unreviewed       |  Has patch:  0
Easy pickings:  0                |      UI/UX:  0
---------------------------------+--------------------
 Know this issue have been raised a couple of times but I can't find once
 that fits my user case.

 So I upgraded django1.6 to 1.8.4, some of my application migrations were
 failing so I decided to run the migration with fake option


 Problem is I can't add users to admin now because of this error
 null value in column "last_login" violates not-null constraint

 I have checked the migration files in auth the field last_login was set to
 null by default and its now optional. Problem that didn't take effect in
 my db cause I had runned the migration with fake option.

 How should rectify this.

--
Ticket URL: <https://code.djangoproject.com/ticket/26895>
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/049.3f9a37ac37d5819ba1d05714af346bb9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to