BikeBikeBike/db/migrate/20140209021801_create_translations.rb

14 lines
297 B
Ruby
Raw Normal View History

2014-03-09 14:43:33 -06:00
class CreateTranslations < ActiveRecord::Migration
2014-03-09 15:47:42 -06:00
def change
2014-03-09 14:43:33 -06:00
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