mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-12 15:58:38 -05: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:
@@ -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),
|
||||||
|
),
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user