Sha256: 507dc6085a44a58a3c78037b7182a2a091c2172a011dd6eab4dcfe515512088b

Contents?: true

Size: 541 Bytes

Versions: 5

Compression:

Stored size: 541 Bytes

Contents

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

  def down
    Ecm::Staff::Organisation.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/006_create_ecm_staff_organisation_translations.rb
ecm_staff2-3.1.0 db/migrate/006_create_ecm_staff_organisation_translations.rb
ecm_staff2-3.0.2 db/migrate/006_create_ecm_staff_organisation_translations.rb
ecm_staff2-3.0.1 db/migrate/006_create_ecm_staff_organisation_translations.rb
ecm_staff2-3.0.0 db/migrate/006_create_ecm_staff_organisation_translations.rb