0002_auto_20220619_1043.py 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. # Generated by Django 3.2.4 on 2022-06-19 10:43
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. dependencies = [
  5. ('user', '0001_initial'),
  6. ]
  7. operations = [
  8. migrations.AddField(
  9. model_name='user',
  10. name='group',
  11. field=models.CharField(default='默认分组', max_length=128, verbose_name='分组'),
  12. ),
  13. migrations.AlterField(
  14. model_name='permission',
  15. name='id',
  16. field=models.CharField(default='TestLaboratory_V1_Permission_1', max_length=128, primary_key=True, serialize=False, unique=True, verbose_name='权限ID'),
  17. ),
  18. migrations.AlterField(
  19. model_name='role',
  20. name='id',
  21. field=models.CharField(default='TestLaboratory_V1_Role_1', max_length=128, primary_key=True, serialize=False, unique=True, verbose_name='角色ID'),
  22. ),
  23. migrations.AlterField(
  24. model_name='user',
  25. name='id',
  26. field=models.CharField(default='TestLaboratory_V1_User_1', max_length=128, primary_key=True, serialize=False, unique=True, verbose_name='用户编号'),
  27. ),
  28. ]