Sha256: aa4efafc7895ec011aed45abc419bd929cfa9bd1b94842de10f5fac8ec1fab4b

Contents?: true

Size: 501 Bytes

Versions: 5

Compression:

Stored size: 501 Bytes

Contents

class CreateEcmStaffPersonTranslations < ActiveRecord::Migration[4.2]
  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-3.1.1 db/migrate/009_create_ecm_staff_person_translations.rb
ecm_staff2-3.1.0 db/migrate/009_create_ecm_staff_person_translations.rb
ecm_staff2-3.0.2 db/migrate/009_create_ecm_staff_person_translations.rb
ecm_staff2-3.0.1 db/migrate/009_create_ecm_staff_person_translations.rb
ecm_staff2-3.0.0 db/migrate/009_create_ecm_staff_person_translations.rb