Sha256: cba46c182ea0b50f30640f5545197d2b87d9e8f48e908f7d910e8b9499d4a67e

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

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

  def down
    Ecm::Staff::Position.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/008_create_ecm_staff_position_translations.rb
ecm_staff-0.0.1.pre db/migrate/008_create_ecm_staff_position_translations.rb