Commit 52cf11b9 authored by Job van der Voort's avatar Job van der Voort

add a space

parent 6d196962
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
\ No newline at end of file
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