Commit eab17f86 by Bach Dániel

vm: fix migration file

parent d3e55429
...@@ -13,19 +13,11 @@ class Migration(SchemaMigration): ...@@ -13,19 +13,11 @@ class Migration(SchemaMigration):
self.gf('django.db.models.fields.TextField')(default='', blank=True), self.gf('django.db.models.fields.TextField')(default='', blank=True),
keep_default=False) keep_default=False)
# Adding field 'InstanceTemplate.owner'
db.add_column(u'vm_instancetemplate', 'owner',
self.gf('django.db.models.fields.related.ForeignKey')(default=0, to=orm['auth.User']),
keep_default=False)
def backwards(self, orm): def backwards(self, orm):
# Deleting field 'Instance.system' # Deleting field 'Instance.system'
db.delete_column(u'vm_instance', 'system') db.delete_column(u'vm_instance', 'system')
# Deleting field 'InstanceTemplate.owner'
db.delete_column(u'vm_instancetemplate', 'owner_id')
models = { models = {
u'acl.level': { u'acl.level': {
......
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