Rename Image.image_id to Image.docker_image_id to reduce confusion.

This commit is contained in:
yackob03 2013-10-01 14:14:39 -04:00
parent 4746f9c324
commit 96896b9067
7 changed files with 33 additions and 20 deletions

View file

@ -86,7 +86,7 @@ class Image(BaseModel):
# to be globally unique we can't treat them as such for permissions and
# security reasons. So rather than Repository <-> Image being many to many
# each image now belongs to exactly one repository.
image_id = CharField()
docker_image_id = CharField()
checksum = CharField(null=True)
created = DateTimeField(null=True)
comment = TextField(null=True)
@ -99,7 +99,7 @@ class Image(BaseModel):
database = db
indexes = (
# we don't really want duplicates
(('repository', 'image_id'), True),
(('repository', 'docker_image_id'), True),
)