Commit 223f311c authored by Sean McGivern's avatar Sean McGivern

Merge branch '2192_remove_approvals_value' into 'master'

Remove records with action=approvals from system_note_metadata

Closes #2192

See merge request !1673
parents 7df466f7 16b5ea9b
class NotesMetadataRemoveApprovalsValue < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
execute("DELETE FROM system_note_metadata WHERE action = 'approvals'")
end
end
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20170408033905) do ActiveRecord::Schema.define(version: 20170419065104) do
# These are extensions that must be enabled in order to support this database # These are extensions that must be enabled in order to support this database
enable_extension "plpgsql" enable_extension "plpgsql"
......
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