12 lines
252 B
Ruby
12 lines
252 B
Ruby
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
|