Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
B.I.T.S. Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
B.I.T.S. 4.0
B.I.T.S. Server
Commits
953a7720
Commit
953a7720
authored
Oct 22, 2014
by
Stefano Sanfilippo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dropping index on LoginAttempt that MySQL could not handle.
parent
c90f8d2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
bitsd/persistence/models.py
bitsd/persistence/models.py
+0
-1
No files found.
bitsd/persistence/models.py
View file @
953a7720
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment