Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
838e3cec
Commit
838e3cec
authored
Mar 21, 2016
by
Pablo Carranza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unique option from migration
parent
87184912
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
db/migrate/20160301174731_add_fingerprint_index.rb
db/migrate/20160301174731_add_fingerprint_index.rb
+1
-1
db/schema.rb
db/schema.rb
+1
-1
No files found.
db/migrate/20160301174731_add_fingerprint_index.rb
View file @
838e3cec
class
AddFingerprintIndex
<
ActiveRecord
::
Migration
def
change
add_index
:keys
,
:fingerprint
,
unique:
false
add_index
:keys
,
:fingerprint
end
end
db/schema.rb
View file @
838e3cec
...
...
@@ -514,7 +514,7 @@ ActiveRecord::Schema.define(version: 20160316124047) do
end
add_index
"keys"
,
[
"created_at"
,
"id"
],
name:
"index_keys_on_created_at_and_id"
,
using: :btree
add_index
"keys"
,
[
"fingerprint"
],
name:
"index_keys_on_fingerprint"
,
u
nique:
true
,
u
sing: :btree
add_index
"keys"
,
[
"fingerprint"
],
name:
"index_keys_on_fingerprint"
,
using: :btree
add_index
"keys"
,
[
"user_id"
],
name:
"index_keys_on_user_id"
,
using: :btree
create_table
"label_links"
,
force: :cascade
do
|
t
|
...
...
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