upgrade

The upgrade module provides a way for the database and schema that is the backend for the SongsUsage plugin

openlp.plugins.songusage.lib.upgrade.upgrade_1(session, metadata)[source]

Version 1 upgrade.

This upgrade adds two new fields to the songusage database

Parameters:
  • session – SQLAlchemy Session object
  • metadata – SQLAlchemy MetaData object