Commit 5024a951 by Őry Máté

set missing default values for migrations

parent 89209580
......@@ -10,7 +10,7 @@ class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Rule.owner'
db.add_column('firewall_rule', 'owner',
self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['auth.User']),
self.gf('django.db.models.fields.related.ForeignKey')(default=1, to=orm['auth.User']),
keep_default=False)
......@@ -120,4 +120,4 @@ class Migration(SchemaMigration):
}
}
complete_apps = ['firewall']
\ No newline at end of file
complete_apps = ['firewall']
......@@ -21,7 +21,7 @@ class Migration(SchemaMigration):
# Adding field 'Host.vlan'
db.add_column('firewall_host', 'vlan',
self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['firewall.Vlan']),
self.gf('django.db.models.fields.related.ForeignKey')(default=1, to=orm['firewall.Vlan']),
keep_default=False)
# Removing M2M table for field vlan on 'Host'
......@@ -142,4 +142,4 @@ class Migration(SchemaMigration):
}
}
complete_apps = ['firewall']
\ No newline at end of file
complete_apps = ['firewall']
......@@ -15,7 +15,7 @@ class Migration(SchemaMigration):
# Adding field 'Rule.nat_dport'
db.add_column('firewall_rule', 'nat_dport',
self.gf('django.db.models.fields.IntegerField')(default=None),
self.gf('django.db.models.fields.IntegerField')(default=1),
keep_default=False)
......@@ -126,4 +126,4 @@ class Migration(SchemaMigration):
}
}
complete_apps = ['firewall']
\ No newline at end of file
complete_apps = ['firewall']
......@@ -58,7 +58,7 @@ class Migration(SchemaMigration):
# Adding field 'Rule.foreign_network'
db.add_column('firewall_rule', 'foreign_network',
self.gf('django.db.models.fields.related.ForeignKey')(default=None, related_name='ForeignRules', to=orm['firewall.VlanGroup']),
self.gf('django.db.models.fields.related.ForeignKey')(default=1, related_name='ForeignRules', to=orm['firewall.VlanGroup']),
keep_default=False)
# Adding field 'Rule.vlan'
......@@ -295,4 +295,4 @@ class Migration(SchemaMigration):
}
}
complete_apps = ['firewall']
\ No newline at end of file
complete_apps = ['firewall']
......@@ -10,7 +10,7 @@ class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Vlan.domain'
db.add_column('firewall_vlan', 'domain',
self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['firewall.Domain']),
self.gf('django.db.models.fields.related.ForeignKey')(default=1, to=orm['firewall.Domain']),
keep_default=False)
......@@ -187,4 +187,4 @@ class Migration(SchemaMigration):
}
}
complete_apps = ['firewall']
\ No newline at end of file
complete_apps = ['firewall']
......@@ -21,7 +21,7 @@ class Migration(SchemaMigration):
# Adding field 'Disk.datastore'
db.add_column('storage_disk', 'datastore',
self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['storage.DataStore']),
self.gf('django.db.models.fields.related.ForeignKey')(default=1, to=orm['storage.DataStore']),
keep_default=False)
......@@ -56,4 +56,4 @@ class Migration(SchemaMigration):
}
}
complete_apps = ['storage']
\ No newline at end of file
complete_apps = ['storage']
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment