Long description fields should have been text rather than blob.

This commit is contained in:
yackob03 2013-09-30 23:22:52 -04:00
parent abd4e8a7ab
commit 25c4054c19

View file

@ -32,7 +32,7 @@ class Repository(BaseModel):
namespace = CharField()
name = CharField()
visibility = ForeignKeyField(Visibility)
description = BlobField(null=True)
description = TextField(null=True)
class Meta:
database = db
@ -89,7 +89,7 @@ class Image(BaseModel):
image_id = CharField()
checksum = CharField(null=True)
created = DateTimeField(null=True)
comment = BlobField(null=True)
comment = TextField(null=True)
repository = ForeignKeyField(Repository)
# '/' separated list of ancestory ids, e.g. /1/2/6/7/10/