forked from openlp/openlp
remove prints
This commit is contained in:
parent
f266485001
commit
2dd0aa234e
@ -72,7 +72,6 @@ def upgrade_db(url, upgrade):
|
|||||||
``upgrade``
|
``upgrade``
|
||||||
The python module that contains the upgrade instructions.
|
The python module that contains the upgrade instructions.
|
||||||
"""
|
"""
|
||||||
print url, upgrade
|
|
||||||
session, metadata = init_db(url)
|
session, metadata = init_db(url)
|
||||||
tables = upgrade.upgrade_setup(metadata)
|
tables = upgrade.upgrade_setup(metadata)
|
||||||
metadata_table = Table(u'metadata', metadata,
|
metadata_table = Table(u'metadata', metadata,
|
||||||
|
@ -44,7 +44,6 @@ def upgrade_setup(metadata):
|
|||||||
tables = {
|
tables = {
|
||||||
u'songusage_data': Table(u'songusage_data', metadata, autoload=True)
|
u'songusage_data': Table(u'songusage_data', metadata, autoload=True)
|
||||||
}
|
}
|
||||||
print tables
|
|
||||||
return tables
|
return tables
|
||||||
|
|
||||||
|
|
||||||
@ -54,7 +53,6 @@ def upgrade_1(session, metadata, tables):
|
|||||||
|
|
||||||
This upgrade adds two new fields to the songusage database
|
This upgrade adds two new fields to the songusage database
|
||||||
"""
|
"""
|
||||||
print "hi"
|
|
||||||
Column(u'plugin_name', types.Unicode(20), default=u'') \
|
Column(u'plugin_name', types.Unicode(20), default=u'') \
|
||||||
.create(table=tables[u'songusage_data'], populate_default=True)
|
.create(table=tables[u'songusage_data'], populate_default=True)
|
||||||
Column(u'source', types.Unicode(10), default=u'') \
|
Column(u'source', types.Unicode(10), default=u'') \
|
||||||
|
Loading…
Reference in New Issue
Block a user