Class: CreateVoltronTranslations
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateVoltronTranslations
- Defined in:
- lib/generators/templates/db/migrate/create_voltron_translations.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 |
# 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 |