diff options
| author | Robert Speicher <robert@gitlab.com> | 2017-03-27 15:55:47 +0000 |
|---|---|---|
| committer | Robert Speicher <robert@gitlab.com> | 2017-03-27 15:55:47 +0000 |
| commit | aeff506a4ea247bd912de967e43dd34dd5fad453 (patch) | |
| tree | 15b7747d3cc8ce1a9788a43c39252feb97738796 /db | |
| parent | 8bddf23e60459703b60d1c034ca155d5cd0e7536 (diff) | |
| parent | c8ad3346b0d5575faab49f247192f58c92e1ce72 (diff) | |
| download | gitlab-ce-aeff506a4ea247bd912de967e43dd34dd5fad453.tar.gz | |
Merge branch 'sh-bring-back-option-to-be-notified-of-own-activity' into 'master'
Bring back option to be notified of own activity
See merge request !10032
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20170316061730_readd_notified_of_own_activity_to_users.rb | 10 | ||||
| -rw-r--r-- | db/schema.rb | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20170316061730_readd_notified_of_own_activity_to_users.rb b/db/migrate/20170316061730_readd_notified_of_own_activity_to_users.rb new file mode 100644 index 00000000000..524eb2557ce --- /dev/null +++ b/db/migrate/20170316061730_readd_notified_of_own_activity_to_users.rb @@ -0,0 +1,10 @@ +class ReaddNotifiedOfOwnActivityToUsers < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + disable_ddl_transaction! + + DOWNTIME = false + + def change + add_column :users, :notified_of_own_activity, :boolean + end +end diff --git a/db/schema.rb b/db/schema.rb index 904fef4a381..f476637ceb2 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1236,6 +1236,7 @@ ActiveRecord::Schema.define(version: 20170317203554) do t.string "organization" t.boolean "authorized_projects_populated" t.boolean "ghost" + t.boolean "notified_of_own_activity" end add_index "users", ["admin"], name: "index_users_on_admin", using: :btree |
