Sha256: 75a8da9ca8d05efd050685cfdcb169673553ae1cb415b67e829bbd48ca95cfa0

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

class CreateEcmStaffOrganisationTranslations < ActiveRecord::Migration
  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

2 entries across 2 versions & 1 rubygems

Version Path
ecm_staff-0.0.2.pre db/migrate/006_create_ecm_staff_organisation_translations.rb
ecm_staff-0.0.1.pre db/migrate/006_create_ecm_staff_organisation_translations.rb