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
Léo-Paul Géneau
gitlab-ce
Commits
6d73ce69
Commit
6d73ce69
authored
Feb 16, 2019
by
Wei-Meng Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add notification_email to NotificationSetting
parent
4e888212
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
db/migrate/20190327163904_add_notification_email_to_notification_settings.rb
...163904_add_notification_email_to_notification_settings.rb
+11
-0
db/schema.rb
db/schema.rb
+1
-0
No files found.
db/migrate/20190327163904_add_notification_email_to_notification_settings.rb
0 → 100644
View file @
6d73ce69
# frozen_string_literal: true
class
AddNotificationEmailToNotificationSettings
<
ActiveRecord
::
Migration
[
5.0
]
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
def
change
add_column
:notification_settings
,
:notification_email
,
:string
end
end
db/schema.rb
View file @
6d73ce69
...
...
@@ -1516,6 +1516,7 @@ ActiveRecord::Schema.define(version: 20190527194900) do
t
.
boolean
"success_pipeline"
t
.
boolean
"push_to_merge_request"
t
.
boolean
"issue_due"
t
.
string
"notification_email"
t
.
index
[
"source_id"
,
"source_type"
],
name:
"index_notification_settings_on_source_id_and_source_type"
,
using: :btree
t
.
index
[
"user_id"
,
"source_id"
,
"source_type"
],
name:
"index_notifications_on_user_id_and_source_id_and_source_type"
,
unique:
true
,
using: :btree
t
.
index
[
"user_id"
],
name:
"index_notification_settings_on_user_id"
,
using: :btree
...
...
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