feat: cron worker for renewal notifs
This commit is contained in:
@@ -23,9 +23,7 @@ class ServiceNotification(Base):
|
||||
notify_type: Mapped[NotificationType] = mapped_column(
|
||||
Enum(NotificationType, name="notificationtype"), nullable=False
|
||||
)
|
||||
sub_expires_at: Mapped[datetime] = mapped_column(
|
||||
DateTime(timezone=True), unique=True, nullable=False
|
||||
)
|
||||
sub_expires_at: Mapped[datetime] = mapped_column(DateTime(timezone=True), nullable=False)
|
||||
|
||||
status: Mapped[NotificationStatus] = mapped_column(
|
||||
Enum(NotificationStatus, name="notificationstatus"),
|
||||
|
||||
Reference in New Issue
Block a user