Sha256: 67f68eb9911474f49db0ea626ea2398630f5330c2d8d9ed1886a16f3cb2ca54c

Contents?: true

Size: 508 Bytes

Versions: 5

Compression:

Stored size: 508 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

5 entries across 5 versions & 1 rubygems

Version Path
ecm_staff2-2.0.0 db/migrate/008_create_ecm_staff_position_translations.rb
ecm_staff2-1.0.0 db/migrate/008_create_ecm_staff_position_translations.rb
ecm_staff2-0.0.3 db/migrate/008_create_ecm_staff_position_translations.rb
ecm_staff2-0.0.2 db/migrate/008_create_ecm_staff_position_translations.rb
ecm_staff2-0.0.1 db/migrate/008_create_ecm_staff_position_translations.rb