BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
e39fdc1d
Commit
e39fdc1d
authored
Oct 20, 2015
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure MySQL CI limits DB migrations occur after the fields have been created
Closes
https://github.com/gitlabhq/gitlabhq/issues/9753
parent
6f5a844e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
CHANGELOG
CHANGELOG
+1
-0
20151020173516_ci_limits_to_mysql.rb
db/migrate/20151020173516_ci_limits_to_mysql.rb
+9
-0
limits_to_mysql.rb
db/migrate/limits_to_mysql.rb
+0
-4
No files found.
CHANGELOG
View file @
e39fdc1d
Please view this file on the master branch, on stable branches it's out of date.
v 8.2.0 (unreleased)
- Ensure MySQL CI limits DB migrations occur after the fields have been created (Stan Hu)
- Improved performance of replacing references in comments
- Fix duplicate repositories in GitHub import page (Stan Hu)
- Redirect to a default path if HTTP_REFERER is not set (Stan Hu)
...
...
db/migrate/20151020173516_ci_limits_to_mysql.rb
0 → 100644
View file @
e39fdc1d
class
CiLimitsToMysql
<
ActiveRecord
::
Migration
def
change
return
unless
ActiveRecord
::
Base
.
configurations
[
Rails
.
env
][
'adapter'
]
=~
/^mysql/
# CI
change_column
:ci_builds
,
:trace
,
:text
,
limit:
1073741823
change_column
:ci_commits
,
:push_data
,
:text
,
limit:
16777215
end
end
db/migrate/limits_to_mysql.rb
View file @
e39fdc1d
...
...
@@ -6,9 +6,5 @@ class LimitsToMysql < ActiveRecord::Migration
change_column
:merge_request_diffs
,
:st_diffs
,
:text
,
limit:
2147483647
change_column
:snippets
,
:content
,
:text
,
limit:
2147483647
change_column
:notes
,
:st_diff
,
:text
,
limit:
2147483647
# CI
change_column
:ci_builds
,
:trace
,
:text
,
limit:
1073741823
change_column
:ci_commits
,
:push_data
,
:text
,
limit:
16777215
end
end
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