Commit 62c81354 by aa.gusti

TambahLog buat Sambat

1 parent 751094a2
...@@ -88,3 +88,19 @@ class Log(Base): ...@@ -88,3 +88,19 @@ class Log(Base):
bit_102 = Column(String(32)) bit_102 = Column(String(32))
bit_107 = Column(String(8)) bit_107 = Column(String(8))
bit_062_data = Column(JSON) bit_062_data = Column(JSON)
class LogSam(Base):
__tablename__ = 'log_sam'
id = Column(Integer, primary_key=True)
created = Column(
DateTime(timezone=True), nullable=False, server_default=func.now())
rpc_id = Column(Integer, ForeignKey(Rpc.id), nullable=False)
ip = Column(String(15))
conf_name = Column(String(16), nullable=False)
message = Column(JSON)
mti = Column(String(4), nullable=False)
bit_003 = Column(String(6)) # Processing Code
bit_062_data = Column(JSON)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!