set default

This commit is contained in:
j 2008-10-10 11:48:04 +02:00
parent 33d1cd3cd3
commit 54af216f30

View file

@ -258,7 +258,7 @@ class ArchiveFile(SQLObject):
ALTER TABLE archive_file CHANGE srt srt LONGTEXT; ALTER TABLE archive_file CHANGE srt srt LONGTEXT;
''' '''
md5sum = UnicodeCol(length=128, alternateID=True) md5sum = UnicodeCol(length=128, alternateID=True)
sha1sum = UnicodeCol(length=40) sha1sum = UnicodeCol(length=40, default='')
oxdb = UnicodeCol(length=128) oxdb = UnicodeCol(length=128)
path = UnicodeCol() path = UnicodeCol()
date = DateTimeCol() date = DateTimeCol()