Permalink
Browse files

Rename translation.updated to translation.primary_updated

  • Loading branch information...
1 parent 6d5b445 commit c94fdee5c3ce5cd40a05e4a721e88ebbfe2ba76d @lifo lifo committed Apr 8, 2010
@@ -1,11 +1,11 @@
class AddUpdatedStuff < ActiveRecord::Migration
def self.up
- add_column :translations, :updated, :boolean, :default => false
+ add_column :translations, :primary_updated, :boolean, :default => false
add_column :translations, :previous_text, :text
end
def self.down
remove_column :translations, :previous_text
- remove_column :translations, :updated
+ remove_column :translations, :primary_updated
end
end
View
@@ -29,7 +29,7 @@
t.text "text"
t.datetime "created_at"
t.datetime "updated_at"
- t.boolean "updated", :default => false
+ t.boolean "primary_updated", :default => false
t.text "previous_text"
end
@@ -17,7 +17,7 @@ def self.up
t.integer :locale_id
t.text :text
t.text :previous_text
- t.boolean :updated, :default => false
+ t.boolean :primary_updated, :default => false
t.datetime :created_at
t.datetime :updated_at
end

0 comments on commit c94fdee

Please sign in to comment.