captcha
This commit is contained in:
@ -67,3 +67,11 @@ class QueueLog(Base):
|
||||
id = Column(UUID(as_uuid=True), primary_key=True, default=uuid.uuid4)
|
||||
action = Column(String)
|
||||
created = Column(DateTime, default=datetime.datetime.utcnow)
|
||||
|
||||
|
||||
class Captcha(Base):
|
||||
__tablename__ = "captcha"
|
||||
|
||||
id = Column(UUID(as_uuid=True), primary_key=True, default=uuid.uuid4)
|
||||
prompt = Column(String(length=6))
|
||||
used = Column(Boolean, default=False)
|
||||
|
||||
Reference in New Issue
Block a user