blob: b88aa3cc468ac58b5a60e9e2ab542516ddf1eb83 (
plain) (
tree)
|
|
# This migration comes from refinery_blog (originally 20120530102901)
class CreateBlogTranslations < ActiveRecord::Migration
def up
Refinery::Blog::Post.create_translation_table!({
:body => :text,
:custom_teaser => :text,
:custom_url => :string,
:slug => :string,
:title => :string
}, {
:migrate_data => true
})
end
def down
Refinery::Blog::Post.drop_translation_table! :migrate_data => true
end
end
|