Sha256: da24a144160e9830fab7fe3c834acbda286f22e93fe320e84d6d6d68fe9e35dc

Contents?: true

Size: 496 Bytes

Versions: 5

Compression:

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

5 entries across 5 versions & 1 rubygems

Version Path
ecm_staff2-2.0.0 db/migrate/009_create_ecm_staff_person_translations.rb
ecm_staff2-1.0.0 db/migrate/009_create_ecm_staff_person_translations.rb
ecm_staff2-0.0.3 db/migrate/009_create_ecm_staff_person_translations.rb
ecm_staff2-0.0.2 db/migrate/009_create_ecm_staff_person_translations.rb
ecm_staff2-0.0.1 db/migrate/009_create_ecm_staff_person_translations.rb