1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 13:55:31 +03:00

inventory is unique on <name, org>

* was unique on name because we were inheriting from a Model that had it
defined as such. Thus our expression of uniqueness in the Inventory
Model was meaningless.
This commit is contained in:
Chris Meyers 2016-11-21 14:34:17 -05:00
parent fd56a7acbb
commit 01ec443380

View File

@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('main', '0051_v310_job_project_update'),
]
operations = [
migrations.AlterField(
model_name='inventory',
name='name',
field=models.CharField(max_length=512),
),
]