agenda-libre-ruby/db/migrate/20140403204748_create_translation.rb

13 lines
318 B
Ruby
Raw Normal View History

# Add a translations table, to mange many texts from the database
class CreateTranslation < ActiveRecord::Migration
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
end
end
end