Skip to content
Snippets Groups Projects
Commit bd03ca4a authored by Richard Macklin's avatar Richard Macklin
Browse files

Add notified_of_own_activity column to users table

parent 67cec150
No related branches found
No related tags found
1 merge request!8836Add option to receive email notifications about your own activity
class AddNotifiedOfOwnActivityToUsers < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
disable_ddl_transaction!
DOWNTIME = false
def up
add_column_with_default :users, :notified_of_own_activity, :boolean, default: false
end
def down
remove_column :users, :notified_of_own_activity
end
end
Loading
Loading
@@ -1257,6 +1257,7 @@ ActiveRecord::Schema.define(version: 20170130204620) do
t.string "organization"
t.string "incoming_email_token"
t.boolean "authorized_projects_populated"
t.boolean "notified_of_own_activity", default: false, null: false
end
 
add_index "users", ["admin"], name: "index_users_on_admin", using: :btree
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment