refactor: reformat

This commit is contained in:
Leon
2025-07-16 19:44:45 +02:00
parent 945c764b20
commit c1629aad8d
15 changed files with 23 additions and 12 deletions

View File

@@ -1 +1 @@
"""SQLAlchemy models for the database."""
"""SQLAlchemy models for the database."""

View File

@@ -6,6 +6,7 @@ from app.core.database import Base
class Newsletter(Base):
"""Represents a newsletter, which can have multiple senders and entries."""
__tablename__ = "newsletters"
id = Column(Integer, primary_key=True, index=True)
@@ -22,6 +23,7 @@ class Newsletter(Base):
class Sender(Base):
"""Represents an email sender associated with a newsletter."""
__tablename__ = "senders"
id = Column(Integer, primary_key=True, index=True)

View File

@@ -5,6 +5,7 @@ from app.core.database import Base
class Settings(Base):
"""Represents application settings, including IMAP configuration."""
__tablename__ = "settings"
id = Column(Integer, primary_key=True, index=True)