Migrate data back to Image in preparation for v2
This commit is contained in:
parent
abb1486a96
commit
b56de3355c
7 changed files with 72 additions and 6 deletions
|
@ -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,)
|
||||
|
|
Reference in a new issue