Sha256: b016515a3f1fc951f2f70aeb7415c3c56e91f9447495569cd59286f3554b82c9

Contents?: true

Size: 536 Bytes

Versions: 5

Compression:

Stored size: 536 Bytes

Contents

class CreateEcmStaffBusinessUnitTranslations < ActiveRecord::Migration
  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-2.0.0 db/migrate/007_create_ecm_staff_business_unit_translations.rb
ecm_staff2-1.0.0 db/migrate/007_create_ecm_staff_business_unit_translations.rb
ecm_staff2-0.0.3 db/migrate/007_create_ecm_staff_business_unit_translations.rb
ecm_staff2-0.0.2 db/migrate/007_create_ecm_staff_business_unit_translations.rb
ecm_staff2-0.0.1 db/migrate/007_create_ecm_staff_business_unit_translations.rb