mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 04:10:44 -03:30
Moved necessary add field migration to exist prior to dependent implicit role field which references the field
This commit is contained in:
parent
74d86859f1
commit
e9aff8d67d
@ -37,6 +37,11 @@ class Migration(migrations.Migration):
|
||||
'projects',
|
||||
'deprecated_projects',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='project',
|
||||
name='organization',
|
||||
field=models.ForeignKey(related_name='projects', to='main.Organization', blank=True, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='team',
|
||||
name='deprecated_projects',
|
||||
@ -242,11 +247,6 @@ class Migration(migrations.Migration):
|
||||
name='deprecated_projects',
|
||||
field=models.ManyToManyField(related_name='deprecated_organizations', to='main.Project', blank=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='project',
|
||||
name='organization',
|
||||
field=models.ForeignKey(related_name='projects', to='main.Organization', blank=True, null=True),
|
||||
),
|
||||
migrations.RenameField(
|
||||
'Credential',
|
||||
'team',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user