master
Aevann1 2021-07-25 03:26:56 +02:00
parent 78e683f057
commit ecab5111db
1 changed files with 0 additions and 12 deletions

View File

@ -1,18 +1,6 @@
from sqlalchemy import *
from drama.__main__ import Base
class IP(Base):
__tablename__ = "ips"
id = Column(Integer, primary_key=True)
addr = Column(String(64))
reason = Column(String(256), default="")
banned_by = Column(Integer, ForeignKey("users.id"), default=True)
until_utc=Column(Integer, default=None)
class Agent(Base):
__tablename__ = "useragents"