Long description fields should have been text rather than blob.
This commit is contained in:
parent
abd4e8a7ab
commit
25c4054c19
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ class Repository(BaseModel):
|
||||||
namespace = CharField()
|
namespace = CharField()
|
||||||
name = CharField()
|
name = CharField()
|
||||||
visibility = ForeignKeyField(Visibility)
|
visibility = ForeignKeyField(Visibility)
|
||||||
description = BlobField(null=True)
|
description = TextField(null=True)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
database = db
|
database = db
|
||||||
|
@ -89,7 +89,7 @@ class Image(BaseModel):
|
||||||
image_id = CharField()
|
image_id = CharField()
|
||||||
checksum = CharField(null=True)
|
checksum = CharField(null=True)
|
||||||
created = DateTimeField(null=True)
|
created = DateTimeField(null=True)
|
||||||
comment = BlobField(null=True)
|
comment = TextField(null=True)
|
||||||
repository = ForeignKeyField(Repository)
|
repository = ForeignKeyField(Repository)
|
||||||
|
|
||||||
# '/' separated list of ancestory ids, e.g. /1/2/6/7/10/
|
# '/' separated list of ancestory ids, e.g. /1/2/6/7/10/
|
||||||
|
|
Reference in a new issue