2021-07-21 01:12:26 +00:00
|
|
|
from sqlalchemy import *
|
2021-08-04 15:35:10 +00:00
|
|
|
from files.__main__ import Base
|
2021-07-21 01:12:26 +00:00
|
|
|
|
|
|
|
class Agent(Base):
|
|
|
|
|
|
|
|
__tablename__ = "useragents"
|
|
|
|
|
|
|
|
id = Column(Integer, primary_key=True)
|
|
|
|
kwd = Column(String(64))
|
2021-08-15 04:18:50 +00:00
|
|
|
reason = Column(String(256))
|
2021-07-21 01:12:26 +00:00
|
|
|
banned_by = Column(Boolean, ForeignKey("users.id"), default=True)
|
2021-08-15 04:18:50 +00:00
|
|
|
mock = Column(String(256))
|
2021-07-21 01:12:26 +00:00
|
|
|
status_code = Column(Integer, default=418)
|