payrejardi_app/db/migrate/20160407121234_create_translations.rb
Nicolas Bally 3233232f4e initial
2019-02-01 12:07:55 +01:00

18 lines
333 B
Ruby
Executable File

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