clarion/db/migrate/20151020071227_add_translat...

14 lines
261 B
Ruby
Raw Normal View History

2015-10-20 10:13:42 +03:00
class AddTranslationsToHalls < ActiveRecord::Migration
def self.up
Hall.create_translation_table!({
:name => :string
}, {
:migrate_data => true
})
end
def self.down
Hall.drop_translation_table! :migrate_data => true
end
end