thatcher_app/migrations/01190_create_translations.rb
2019-11-11 16:11:03 +01:00

14 lines
316 B
Ruby

class CreateTranslations < ActiveRecord::Migration[6.0]
def change
create_table :translations do |t|
t.string :locale
t.string :key
t.text :value
t.text :interpolations
t.boolean :is_proc, :default => false
t.timestamps
end
end
end