Sha256: c776ad4bfe8949c970feb43fc804dad89fe4a2e27bd74be2cdebb8b36e7e5cae

Contents?: true

Size: 541 Bytes

Versions: 5

Compression:

Stored size: 541 Bytes

Contents

class CreateEcmStaffBusinessUnitTranslations < ActiveRecord::Migration[4.2]
  def up
    Ecm::Staff::BusinessUnit.create_translation_table!({
                                                         name: :string,
                                                         description: :text,
                                                         slug: :string
                                                       }, migrate_data: true)
  end

  def down
    Ecm::Staff::BusinessUnit.drop_translation_table!(migrate_data: true)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_staff2-3.1.1 db/migrate/007_create_ecm_staff_business_unit_translations.rb
ecm_staff2-3.1.0 db/migrate/007_create_ecm_staff_business_unit_translations.rb
ecm_staff2-3.0.2 db/migrate/007_create_ecm_staff_business_unit_translations.rb
ecm_staff2-3.0.1 db/migrate/007_create_ecm_staff_business_unit_translations.rb
ecm_staff2-3.0.0 db/migrate/007_create_ecm_staff_business_unit_translations.rb