Opened 8 years ago
Closed 8 years ago
#26895 closed Bug (invalid)
An issue migrating from django 1.6 to django 1.8.4
Reported by: | Francis Mwangi | Owned by: | nobody |
---|---|---|---|
Component: | contrib.auth | Version: | 1.8 |
Severity: | Release blocker | Keywords: | |
Cc: | devopske@… | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Sorry, the ticket system is not meant as a support channel, see TicketClosingReasons/UseSupportChannels