Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Commit 6a058c4

Browse files
committed
asset is now LargeBinary
1 parent dad3d5e commit 6a058c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodeChallenge/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Question(db.Model):
1616
title = db.Column(db.String(5000), nullable=False)
1717
answer = db.Column(db.String(255), nullable=False)
1818
rank = db.Column(db.Integer, nullable=False)
19-
asset = db.Column(db.BLOB)
19+
asset = db.Column(db.LargeBinary(length=(2**32)-1))
2020
asset_ext = db.Column(db.String(10))
2121

2222
def __repr__(self):

0 commit comments

Comments
 (0)