From ecf24b6eef3697a8e178be08b37f1068ba6ba879 Mon Sep 17 00:00:00 2001 From: AlanCoding Date: Wed, 20 Jun 2018 07:57:40 -0400 Subject: [PATCH] delay auth app migrations until 3.3 --- awx/main/migrations/0013_v330_multi_credential.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/awx/main/migrations/0013_v330_multi_credential.py b/awx/main/migrations/0013_v330_multi_credential.py index a5f00fdf08..437ade51aa 100644 --- a/awx/main/migrations/0013_v330_multi_credential.py +++ b/awx/main/migrations/0013_v330_multi_credential.py @@ -13,6 +13,13 @@ class Migration(migrations.Migration): dependencies = [ ('main', '0012_v322_update_cred_types'), ] + run_before = [ + # Django-vendored migrations will make reference to settings + # this migration was introduced in Django 1.11 / Tower 3.3 upgrade + # migration main-0009 changed the setting model and is not backward compatible, + # so we assure that at least all of Tower 3.2 migrations are finished before running it + ('auth', '0008_alter_user_username_max_length') + ] operations = [ migrations.AddField(