forked from openlp/openlp
Fix default value
This commit is contained in:
parent
1adac78588
commit
4f0c7716bc
@ -198,7 +198,8 @@ def init_schema(url):
|
|||||||
Column(u'search_title', types.Unicode(255), index=True, nullable=False),
|
Column(u'search_title', types.Unicode(255), index=True, nullable=False),
|
||||||
Column(u'search_lyrics', types.UnicodeText, nullable=False),
|
Column(u'search_lyrics', types.UnicodeText, nullable=False),
|
||||||
Column(u'create_date', types.DateTime(), default=func.now()),
|
Column(u'create_date', types.DateTime(), default=func.now()),
|
||||||
Column(u'last_modified', types.DateTime(), onupdate=func.now())
|
Column(u'last_modified', types.DateTime(), default=func.now(),
|
||||||
|
onupdate=func.now())
|
||||||
)
|
)
|
||||||
|
|
||||||
# Definition of the "topics" table
|
# Definition of the "topics" table
|
||||||
|
Loading…
Reference in New Issue
Block a user