14 lines
297 B
Ruby
14 lines
297 B
Ruby
class CreateTranslations < 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
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|