clarion/db/migrate/20140901103859_add_translation_tables_to_conferences.rb
2014-09-01 13:45:44 +03:00

15 lines
453 B
Ruby

class AddTranslationTablesToConferences < ActiveRecord::Migration
def up
Conference.create_translation_table!({
:title => :string,
:description => :text
}, {
:migrate_data => true
})
end
def down
Post.drop_translation_table! :migrate_data => true
end
end