Hello,
I'm upgrading my systems to Django 1.8 and I'm facing this error:
(1048, "Column 'last_login' cannot be null")
so I describe my table in DB:
+---------------------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default |
Extra |
+---------------------+------------------+------+-----+---------+----------------+
| last_login | datetime | NO | | NULL
| |
and yep, it is not nullable, but the 0005_alter_user_last_login_null
migrations
is run, so why this field is not nullable?
How can I debug this?
PS: I run ./manage.py migrate (without --fake option)
and I use the AbstractUser as my base class.
Thanks and have a good one
--
You received this message because you are subscribed to the Google Groups "Django
users" 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].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/55367A76.7050509%40arkade.info.
For more options, visit https://groups.google.com/d/optout.