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
2f049c66
Commit
2f049c66
authored
Jul 17, 2019
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Match mysql_set_length_for_binary_indexes to CE
parent
dc5bbea9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
config/initializers/mysql_set_length_for_binary_indexes.rb
config/initializers/mysql_set_length_for_binary_indexes.rb
+3
-3
No files found.
config/initializers/mysql_set_length_for_binary_indexes.rb
View file @
2f049c66
# This patches ActiveRecord so indexes for binary columns created
# This patches ActiveRecord so indexes for binary columns created
using the
#
using the MySQL adapter apply a length of 20. Otherwise MySQL can't create a
n
#
MySQL adapter apply a length of 20. Otherwise MySQL can't create an index o
n
#
index on
binary columns.
# binary columns.
module
MysqlSetLengthForBinaryIndexAndIgnorePostgresOptionsForSchema
module
MysqlSetLengthForBinaryIndexAndIgnorePostgresOptionsForSchema
# This method is used in Rails 5 schema loading as t.index
# This method is used in Rails 5 schema loading as t.index
...
...
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