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
|