add a space
This commit is contained in:
parent
6d19696267
commit
52cf11b9f2
|
@ -1,10 +1,10 @@
|
||||||
class FixNamespaces < ActiveRecord::Migration
|
class FixNamespaces < ActiveRecord::Migration
|
||||||
def up
|
def up
|
||||||
Namespace.where('name <> path and type is null').each do |namespace|
|
Namespace.where('name <> path and type is null').each do |namespace|
|
||||||
namespace.update_attribute(:name, namespace.path)
|
namespace.update_attribute(:name, namespace.path)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def down
|
def down
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in New Issue