diff --git a/squeaknode/db/squeak_db.py b/squeaknode/db/squeak_db.py index 301e567f..a04623f7 100644 --- a/squeaknode/db/squeak_db.py +++ b/squeaknode/db/squeak_db.py @@ -38,14 +38,6 @@ from squeaknode.core.received_payment import ReceivedPayment logger = logging.getLogger(__name__) -# def run_migrations(script_location: str, dsn: str) -> None: -# LOG.info('Running DB migrations in %r on %r', script_location, dsn) -# alembic_cfg = Config() -# #alembic_cfg.set_main_option('script_location', script_location) -# alembic_cfg.set_main_option('sqlalchemy.url', dsn) -# command.upgrade(alembic_cfg, 'head') - - class SqueakDb: def __init__(self, engine, schema=None): self.engine = engine