Remove old migrations comment (#504)

This commit is contained in:
Jonathan Zernik 2020-12-25 20:23:20 -08:00 committed by GitHub
parent 00fc72514f
commit eaf26bd556
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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