add api.log&errorlog->db
This commit is contained in:
@@ -90,4 +90,12 @@ class EventAction(Base):
|
||||
__tablename__ = "eventaction"
|
||||
|
||||
eventid = Column(Integer,ForeignKey("event.id"))
|
||||
actionid = Column(Integer,ForeignKey("action.id"))
|
||||
actionid = Column(Integer,ForeignKey("action.id"))
|
||||
|
||||
|
||||
class ErrorLog(Base):
|
||||
__tablename__ = "errorlog"
|
||||
id = Column(Integer, primary_key=True, index=True)
|
||||
location = Column(String(200))
|
||||
title = Column(String(50))
|
||||
content = Column(String(5000))
|
||||
Reference in New Issue
Block a user