mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
add Credential migration for unique_together
This commit is contained in:
parent
3575b32eab
commit
14d67d560e
18
awx/main/migrations/0026_v300_credential_unique.py
Normal file
18
awx/main/migrations/0026_v300_credential_unique.py
Normal file
@ -0,0 +1,18 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('main', '0025_v300_update_rbac_parents'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterUniqueTogether(
|
||||
name='credential',
|
||||
unique_together=set([('organization', 'name', 'kind')]),
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue
Block a user