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
Boxiang Sun
gitlab-ce
Commits
637ed8a2
Commit
637ed8a2
authored
Apr 28, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added migration downtime tag
parent
ca17e258
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
db/migrate/20170428123910_add_clientside_sentry_to_application_settings.rb
...28123910_add_clientside_sentry_to_application_settings.rb
+3
-0
No files found.
db/migrate/20170428123910_add_clientside_sentry_to_application_settings.rb
View file @
637ed8a2
# rubocop:disable all
class
AddClientsideSentryToApplicationSettings
<
ActiveRecord
::
Migration
DOWNTIME
=
true
DOWNTIME_REASON
=
'This migration requires downtime because we must add 2 new columns, 1 of which has a default value.'
def
change
change_table
:application_settings
do
|
t
|
t
.
boolean
:clientside_sentry_enabled
,
default:
false
...
...
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