Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (13 sloc) 0.32 kB
class CreateCategoryTranslations < ActiveRecord::Migration
def up
Refinery::Blog::Category.create_translation_table!({
:title => :string,
:slug => :string
}, {
:migrate_data => true
})
end
def down
Refinery::Blog::Category.drop_translation_table! :migrate_data => true
end
end
Jump to Line
Something went wrong with that request. Please try again.