Commit cd017c88 authored by Valery Sizov's avatar Valery Sizov

Merge branch 'approvers_fix' into 'master'

Remove invalid approvers records

https://gitlab.com/gitlab-org/gitlab-ee/issues/1

First part of fix

See merge request !467
parents 91f733c5 04dd345b
class RemoveInvalidApprovers < ActiveRecord::Migration
def up
execute("DELETE FROM approvers WHERE user_id = 0")
end
def down
end
end
......@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150717155058) do
ActiveRecord::Schema.define(version: 20150731200022) do
# These are extensions that must be enabled in order to support this database
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