Sha256: 108f13426d799a4eff4f994a5f372e6f5cdd5c14101992b22b7a0cd66b7330f0

Contents?: true

Size: 347 Bytes

Versions: 2

Compression:

Stored size: 347 Bytes

Contents

class CreateEcmStaffPersonTranslations < ActiveRecord::Migration
  def up
    Ecm::Staff::Person.create_translation_table!({
      :prefix => :string,
      :description => :text,
      :slug => :string
    }, {
      :migrate_data => true
    })
  end

  def down
    Ecm::Staff::Person.drop_translation_table!( :migrate_data => true )
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_staff-0.0.2.pre db/migrate/009_create_ecm_staff_person_translations.rb
ecm_staff-0.0.1.pre db/migrate/009_create_ecm_staff_person_translations.rb