MrDoc/app_admin/migrations/0004_auto_20191121_2103.py
2019-12-01 20:44:16 +08:00

34 lines
1.3 KiB
Python

# Generated by Django 2.1 on 2019-11-21 13:03
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app_admin', '0003_auto_20191117_0816'),
]
operations = [
migrations.CreateModel(
name='EmaiVerificationCode',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('email_name', models.EmailField(max_length=254, verbose_name='电子邮箱')),
('verification_type', models.CharField(max_length=50, verbose_name='验证码类型')),
('verification_code', models.CharField(max_length=10, verbose_name='验证码')),
('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
('expire_time', models.DateTimeField(auto_now=True, verbose_name='过期时间')),
],
options={
'verbose_name': '电子邮件验证码',
'verbose_name_plural': '电子邮件验证码',
},
),
migrations.AddField(
model_name='syssetting',
name='types',
field=models.CharField(default='basic', max_length=10, verbose_name='类型'),
),
]