Migrate data back to Image in preparation for v2

This commit is contained in:
Jake Moshenko 2015-09-15 11:53:31 -04:00
parent abb1486a96
commit b56de3355c
7 changed files with 72 additions and 6 deletions

View file

@ -561,6 +561,12 @@ class Image(BaseModel):
storage = ForeignKeyField(ImageStorage, index=True, null=True)
created = DateTimeField(null=True)
comment = TextField(null=True)
command = TextField(null=True)
aggregate_size = BigIntegerField(null=True)
v1_json_metadata = TextField(null=True)
class Meta:
database = db
read_slaves = (read_slave,)