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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
b7e6357e
Commit
b7e6357e
authored
Sep 15, 2016
by
Drew Blessing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase ci_builds artifacts_size column to 8-byte integer to allow larger files
parent
1038ef54
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
2 deletions
+18
-2
CHANGELOG
CHANGELOG
+1
-0
db/migrate/20160913212128_change_artifacts_size_column.rb
db/migrate/20160913212128_change_artifacts_size_column.rb
+15
-0
db/schema.rb
db/schema.rb
+2
-2
No files found.
CHANGELOG
View file @
b7e6357e
...
...
@@ -43,6 +43,7 @@ v 8.12.0 (unreleased)
- Shorten task status phrase (ClemMakesApps)
- Fix project visibility level fields on settings
- Add hover color to emoji icon (ClemMakesApps)
- Increase ci_builds artifacts_size column to 8-byte integer to allow larger files
- Add textarea autoresize after comment (ClemMakesApps)
- Refresh todos count cache when an Issue/MR is deleted
- Fix branches page dropdown sort alignment (ClemMakesApps)
...
...
db/migrate/20160913212128_change_artifacts_size_column.rb
0 → 100644
View file @
b7e6357e
class
ChangeArtifactsSizeColumn
<
ActiveRecord
::
Migration
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
true
DOWNTIME_REASON
=
'Changing an integer column size requires a full table rewrite.'
def
up
change_column
:ci_builds
,
:artifacts_size
,
:integer
,
limit:
8
end
def
down
# do nothing
end
end
db/schema.rb
View file @
b7e6357e
...
...
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord
::
Schema
.
define
(
version:
20160913
162434
)
do
ActiveRecord
::
Schema
.
define
(
version:
20160913
212128
)
do
# These are extensions that must be enabled in order to support this database
enable_extension
"plpgsql"
...
...
@@ -177,7 +177,7 @@ ActiveRecord::Schema.define(version: 20160913162434) do
t
.
datetime
"erased_at"
t
.
datetime
"artifacts_expire_at"
t
.
string
"environment"
t
.
integer
"artifacts_size"
t
.
integer
"artifacts_size"
,
limit:
8
t
.
string
"when"
t
.
text
"yaml_variables"
t
.
datetime
"queued_at"
...
...
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