2018-11-23 03:15:11 +00:00
# Generated by Django 2.1.1 on 2018-11-23 03:13
2019-03-04 07:38:59 +00:00
from django . conf import settings
2018-11-23 03:15:11 +00:00
from django . db import migrations , models
2019-03-04 07:38:59 +00:00
import django . db . models . deletion
2018-11-23 03:15:11 +00:00
class Migration ( migrations . Migration ) :
dependencies = [
( ' users ' , ' 0016_auto_20181109_1505 ' ) ,
]
operations = [
migrations . AddField (
model_name = ' user ' ,
name = ' date_password_last_updated ' ,
field = models . DateTimeField ( auto_now_add = True , null = True , verbose_name = ' Date password last updated ' ) ,
) ,
2019-03-04 07:38:59 +00:00
migrations . AlterField (
model_name = ' accesskey ' ,
name = ' user ' ,
field = models . ForeignKey ( on_delete = django . db . models . deletion . CASCADE , related_name = ' access_keys ' , to = settings . AUTH_USER_MODEL , verbose_name = ' User ' ) ,
) ,
migrations . AlterField (
model_name = ' loginlog ' ,
name = ' reason ' ,
field = models . SmallIntegerField ( choices = [ ( 0 , ' - ' ) , ( 1 , ' Username/password check failed ' ) , ( 2 , ' MFA authentication failed ' ) , ( 3 , ' Username does not exist ' ) , ( 4 , ' Password expired ' ) ] , default = 0 , verbose_name = ' Reason ' ) ,
) ,
2018-11-23 03:15:11 +00:00
]