mirror of
https://github.com/creyD/apilog.git
synced 2026-04-12 19:30:29 +02:00
8 lines
230 B
Python
8 lines
230 B
Python
from creyPY.fastapi.models.base import Base
|
|
from sqlalchemy import Column, Integer, String
|
|
|
|
|
|
class Application(Base):
|
|
name = Column(String(512), nullable=False, unique=True)
|
|
retention_days = Column(Integer, nullable=True)
|