lib/generators/translated_attributes/templates/migration.rb in translated_attributes-0.5.5 vs lib/generators/translated_attributes/templates/migration.rb in translated_attributes-0.6.0

- old
+ new

@@ -4,10 +4,10 @@ # this is simply my recommended way of setting things up (save + limits needed storage space) create_table :translations do |t| t.integer :translatable_id, :null=>false t.string :translatable_type, :limit=>40, :null=>false t.string :language, :limit=>2, :null=>false - t.string :attribute, :limit=>40, :null=>false + t.string :translated_attribute, :limit=>40, :null=>false t.text :text, :null=>false end add_index :translations, [:translatable_id, :translatable_type] end