From 01ec443380e51e8cd62fc227553105036f2862b2 Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Mon, 21 Nov 2016 14:34:17 -0500 Subject: [PATCH] inventory is unique on * 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. --- .../0052_v310_inventory_name_non_unique.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 awx/main/migrations/0052_v310_inventory_name_non_unique.py diff --git a/awx/main/migrations/0052_v310_inventory_name_non_unique.py b/awx/main/migrations/0052_v310_inventory_name_non_unique.py new file mode 100644 index 0000000000..83bf44619e --- /dev/null +++ b/awx/main/migrations/0052_v310_inventory_name_non_unique.py @@ -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), + ), + ]