Commit 953a7720 authored by Stefano Sanfilippo's avatar Stefano Sanfilippo

Dropping index on LoginAttempt that MySQL could not handle.

parent c90f8d2d
......@@ -193,7 +193,6 @@ class LoginAttempt(Base):
timestamp = Column(DateTime, nullable=False, default=datetime.now)
UniqueConstraint('username', 'ipaddress', name='user_ip_key')
Index('user_IP_login_attempt_idx', username, ipaddress, unique=True)
def __init__(self, username, ipaddress):
self.username = username
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment