mirror of
https://github.com/creyD/apilog.git
synced 2026-04-14 12:20:31 +02:00
feat: added environment for log entries
This commit is contained in:
@@ -23,6 +23,7 @@ class LogEntry(Base):
|
||||
application = Column(
|
||||
UUID(as_uuid=True), ForeignKey("application.id", ondelete="CASCADE"), nullable=False
|
||||
)
|
||||
environment = Column(String(64), nullable=True, default="prod")
|
||||
# type of the log entry
|
||||
l_type = Column(Enum(LogType), nullable=False, default=LogType.INFO)
|
||||
# type of the transaction
|
||||
|
||||
Reference in New Issue
Block a user