Commit bd03ca4a authored by Richard Macklin's avatar Richard Macklin

Add notified_of_own_activity column to users table

parent 67cec150
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
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment