mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Fix broken migration.
This commit is contained in:
parent
778fe07179
commit
a4310f5ee2
@ -12,11 +12,6 @@ class Migration(SchemaMigration):
|
||||
db.add_column(u'main_credential', 'cloud',
|
||||
self.gf('django.db.models.fields.BooleanField')(default=False),
|
||||
keep_default=False)
|
||||
|
||||
# Modified to update value after adding new column.
|
||||
for credential in orm.Credential.objects.filter(kind__in=('aws', 'rax')):
|
||||
credential.cloud = True
|
||||
credential.save()
|
||||
|
||||
|
||||
def backwards(self, orm):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user