mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-27 13:36:06 +10:00
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
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class RemoveInvalidApprovers < ActiveRecord::Migration
|
||||
def up
|
||||
execute("DELETE FROM approvers WHERE user_id = 0")
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
||||
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user