forked from shaba/openuds
Fixed migration problem with user & group, when changing from unique_together to constrains on Meta model
This commit is contained in:
parent
856d645652
commit
55f9820f37
@ -1,4 +1,4 @@
|
||||
# Generated by Django 3.2.4 on 2021-06-24 12:01
|
||||
# Generated by Django 3.2.4 on 2021-06-24 12:22
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
@ -14,10 +14,6 @@ class Migration(migrations.Migration):
|
||||
name='config',
|
||||
unique_together=set(),
|
||||
),
|
||||
migrations.AlterUniqueTogether(
|
||||
name='group',
|
||||
unique_together=set(),
|
||||
),
|
||||
migrations.AlterUniqueTogether(
|
||||
name='service',
|
||||
unique_together=set(),
|
@ -77,7 +77,7 @@ class Group(UUIDModel):
|
||||
|
||||
ordering = ('name',)
|
||||
app_label = 'uds'
|
||||
# unique_together = (("manager", "name"),)
|
||||
unique_together = (("manager", "name"),)
|
||||
# constraints = [
|
||||
# models.UniqueConstraint(fields=['manager', 'name'], name='u_grp_manager_name')
|
||||
# ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user