hobo agent: index role::uuid column (#66011)
This commit is contained in:
parent
54768479c8
commit
3690b42820
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 3.2.13 on 2022-06-08 08:02
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('common', '0003_auto_20200707_1656'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='role',
|
||||
name='uuid',
|
||||
field=models.CharField(db_index=True, max_length=32),
|
||||
),
|
||||
]
|
|
@ -4,7 +4,7 @@ from django.db import models
|
|||
|
||||
|
||||
class Role(Group):
|
||||
uuid = models.CharField(max_length=32)
|
||||
uuid = models.CharField(max_length=32, db_index=True)
|
||||
description = models.TextField(default=u'')
|
||||
details = models.TextField(default=u'')
|
||||
emails = ArrayField(models.CharField(max_length=128), default=list)
|
||||
|
|
Loading…
Reference in New Issue