IP
This commit is contained in:
parent
dc2219bff7
commit
b0b5c37c9d
1 changed files with 0 additions and 12 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue