class CreateVoltronTranslations
Public Instance Methods
change()
click to toggle source
# File lib/generators/templates/db/migrate/create_voltron_translations.rb, line 2 def change create_table :voltron_translations do |t| t.integer :resource_id t.string :resource_type t.string :attribute_name t.string :locale t.text :translation end end