forked from openlp/openlp
Fix table for null fields
This commit is contained in:
parent
7f5ad5df7a
commit
9df75953b3
@ -33,6 +33,6 @@ audit_table = Table(u'audit_data', metadata,
|
||||
Column(u'audittime', types.Time, index=True, nullable=False),
|
||||
Column(u'title', types.Unicode(255), nullable=False),
|
||||
Column(u'authors', types.Unicode(255), nullable=False),
|
||||
Column(u'copyright', types.Unicode(255), nullable=False),
|
||||
Column(u'ccl_number', types.Unicode(65), nullable=False)
|
||||
Column(u'copyright', types.Unicode(255)),
|
||||
Column(u'ccl_number', types.Unicode(65))
|
||||
)
|
||||
|
@ -308,5 +308,5 @@ class SongMediaItem(MediaManagerItem):
|
||||
raw_footer.append(unicode(
|
||||
translate(u'SongMediaItem', u'CCL Licence: ') + ccl))
|
||||
service_item.raw_footer = raw_footer
|
||||
service_item.audit = [service_item.title, author_audit,song.copyright, unicode(song.ccli_number)]
|
||||
service_item.audit = [song.title, author_audit, song.copyright, song.ccli_number]
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user