Commit f6def0b4 authored by ibuler's avatar ibuler

[Update] 修改表结构

parent 9cfcadc2
# Generated by Django 2.1.1 on 2018-11-23 03:13
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('terminal', '0012_auto_20180816_1652'),
]
operations = [
migrations.AlterField(
model_name='terminal',
name='remote_addr',
field=models.CharField(blank=True, max_length=128, verbose_name='Remote Address'),
),
]
# Generated by Django 2.1.1 on 2018-11-23 03:13
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
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'),
),
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'),
),
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment