You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
356 B
17 lines
356 B
class CreateTranslations < ActiveRecord::Migration
|
|
def self.up
|
|
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
|
|
|
|
def self.down
|
|
drop_table :translations
|
|
end
|
|
end
|
|
|