db

The db module provides helper functions for database related methods.

openlp.core.common.db.drop_column(op, tablename, columnname)[source]
openlp.core.common.db.drop_columns(op, tablename, columns)[source]

Column dropping functionality for SQLite, as there is no DROP COLUMN support in SQLite

From https://github.com/klugjohannes/alembic-sqlite