from sqlalchemy import Column, Integer, String from sqlalchemy.orm import declarative_base Base = declarative_base() class SecurityConfig(Base): """Storage for password and recovery key hashes.""" __tablename__ = "security_config" id = Column(Integer, primary_key=True, index=True) password_hash = Column(String, nullable=False) recovery_key_hash = Column(String, nullable=False)