存储扩容功能

dependabot/npm_and_yarn/fir_admin/eventsource-1.1.1
nineven 3 years ago
parent 3ad5e03504
commit f772d65765
  1. 4
      fir_ser/api/migrations/0001_initial.py
  2. 4
      fir_ser/api/models.py

@ -36,8 +36,8 @@ class Migration(migrations.Migration):
('uid', models.CharField(db_index=True, max_length=64, unique=True)),
('mobile', models.BigIntegerField(db_index=True, help_text='用于手机验证码登录', null=True, verbose_name='手机')),
('is_active', models.BooleanField(default=True, verbose_name='账户状态,默认启用')),
('storage_active', models.BooleanField(default=False, verbose_name='配置存储,默认关闭')),
('supersign_active', models.BooleanField(default=True, verbose_name='配置超级签,默认关闭')),
('storage_active', models.BooleanField(default=True, verbose_name='配置存储,默认启用')),
('supersign_active', models.BooleanField(default=True, verbose_name='配置超级签,默认启用')),
('job', models.TextField(blank=True, max_length=128, null=True, verbose_name='职位')),
('company', models.CharField(blank=True, max_length=128, null=True, verbose_name='公司')),
('gender',

@ -24,8 +24,8 @@ class UserInfo(AbstractUser):
uid = models.CharField(max_length=64, unique=True, db_index=True) # user_id,唯一标识
mobile = models.BigIntegerField(verbose_name="手机", db_index=True, help_text="用于手机验证码登录", null=True)
is_active = models.BooleanField(default=True, verbose_name="账户状态,默认启用")
storage_active = models.BooleanField(default=False, verbose_name="配置存储,默认关闭")
supersign_active = models.BooleanField(default=True, verbose_name="配置超级签,默认关闭")
storage_active = models.BooleanField(default=True, 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)

Loading…
Cancel
Save