feat: added retention_days for compliance

This commit is contained in:
2025-01-20 11:37:23 +01:00
parent 3d4e5e3f4b
commit 263d962912
4 changed files with 38 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
from creyPY.fastapi.models.base import Base
from sqlalchemy import Column, String
from sqlalchemy import Column, Integer, String
class Application(Base):
name = Column(String(512), nullable=False, unique=True)
retention_days = Column(Integer, nullable=True, default=30)