diff options
-rw-r--r-- | db.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5,7 +5,7 @@ import settings engine = create_engine(settings.db_path) -Base = declarative_base(engine = engine) +Base = declarative_base(bind = engine) class Paste(Base): __tablename__ = 'paste' |