diff --git a/fir_ser/api/migrations/0002_auto_20210607_1743.py b/fir_ser/api/migrations/0002_auto_20210607_1743.py new file mode 100644 index 0000000..b289017 --- /dev/null +++ b/fir_ser/api/migrations/0002_auto_20210607_1743.py @@ -0,0 +1,22 @@ +# Generated by Django 3.2.3 on 2021-06-07 17:43 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ('api', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='userinfo', + name='first_name', + field=models.CharField(blank=True, max_length=150, verbose_name='first name'), + ), + migrations.AlterField( + model_name='userinfo', + name='supersign_active', + field=models.BooleanField(default=True, verbose_name='配置超级签,默认关闭'), + ), + ] diff --git a/fir_ser/api/models.py b/fir_ser/api/models.py index 11c3b4f..ccb55d3 100644 --- a/fir_ser/api/models.py +++ b/fir_ser/api/models.py @@ -25,7 +25,7 @@ class UserInfo(AbstractUser): qq = models.BigIntegerField(verbose_name="QQ", blank=True, null=True, db_index=True) is_active = models.BooleanField(default=True, verbose_name="账户状态,默认启用") storage_active = models.BooleanField(default=False, verbose_name="配置存储,默认关闭") - supersign_active = models.BooleanField(default=False, verbose_name="配置超级签,默认关闭") + supersign_active = models.BooleanField(default=True, verbose_name="配置超级签,默认关闭") job = models.TextField("职位", max_length=128, blank=True, null=True) company = models.CharField("公司", max_length=128, blank=True, null=True)