You will need to set the default of the new column, something like this:

110     Column(u'temporary', types.Boolean(), default=False)\
111         .create(table=tables[u'songs'])
        connection = metadata.bind.connect()
        update_statement = tables[u'songs'].update().values(temporary=False)
        connection.execute(update_statement)


-- 
https://code.launchpad.net/~trb143/openlp/bug-772523/+merge/84404
Your team OpenLP Core is subscribed to branch lp:openlp.

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to