mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-21 02:26:12 +10:00
Merge branch 'fix-faulty-namespaces' into 'master'
Fix faulty namespaces Fixes #908 Now with updated schema.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class FixNamespaces < ActiveRecord::Migration
|
||||
def up
|
||||
Namespace.where('name <> path and type is null').each do |namespace|
|
||||
namespace.update_attribute(:name, namespace.path)
|
||||
end
|
||||
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: 20140313092127) do
|
||||
ActiveRecord::Schema.define(version: 20140407135544) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
||||
Reference in New Issue
Block a user