Commit 52cf11b9f2f22218abd79aa3936ddb7f0d6cee59

Authored by Job van der Voort
1 parent 6d196962

add a space

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
db/migrate/20140407135544_fix_namespaces.rb
1 1 class FixNamespaces < ActiveRecord::Migration
2 2 def up
3 3 Namespace.where('name <> path and type is null').each do |namespace|
4   - namespace.update_attribute(:name, namespace.path)
  4 + namespace.update_attribute(:name, namespace.path)
5 5 end
6 6 end
7 7  
8 8 def down
9 9 end
10 10 -end
  11 +end
11 12 \ No newline at end of file
... ...