diff options
author | Stan Hu <stanhu@gmail.com> | 2017-03-16 20:18:57 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-03-16 20:18:57 -0700 |
commit | 7cad597f6c8ba794c6852e23d718ed7827da35c6 (patch) | |
tree | a81a2f320f35a546b5a6d7a1b54015877d53c0ff /db | |
parent | 4bf4612cfbe73845391375bf721592426d7b4181 (diff) | |
download | gitlab-ce-7cad597f6c8ba794c6852e23d718ed7827da35c6.tar.gz |
Revert "Merge branch '8836-mr-revert' into 'master'
This reverts commit 68e40bd49fde7b790bb31b9ac85a249bedd817d2, reversing
changes made to 2d1f823b4c8b60cee525384cb52e547d2be8925a.
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20170123061730_add_notified_of_own_activity_to_users.rb | 14 | ||||
-rw-r--r-- | db/schema.rb | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/db/migrate/20170123061730_add_notified_of_own_activity_to_users.rb b/db/migrate/20170123061730_add_notified_of_own_activity_to_users.rb new file mode 100644 index 00000000000..f90637e1e35 --- /dev/null +++ b/db/migrate/20170123061730_add_notified_of_own_activity_to_users.rb @@ -0,0 +1,14 @@ +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 diff --git a/db/schema.rb b/db/schema.rb index 3bef910c1d6..9041ddc306f 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1318,6 +1318,7 @@ ActiveRecord::Schema.define(version: 20170315174634) do t.string "incoming_email_token" t.string "organization" t.boolean "authorized_projects_populated" + t.boolean "notified_of_own_activity", default: false, null: false t.boolean "ghost" end |