Sha256: f227e29e1e67b01f7d871d08f0e31d418f3eef7f6cf3bf93c84cf64e43a7a649

Contents?: true

Size: 259 Bytes

Versions: 8

Compression:

Stored size: 259 Bytes

Contents

class AddNiiTypeIdToManifestation < ActiveRecord::Migration[4.2]
  def self.up
    add_column :manifestations, :nii_type_id, :integer
    add_index :manifestations, :nii_type_id
  end

  def self.down
    remove_column :manifestations, :nii_type_id
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
enju_nii-0.3.2 db/migrate/20090913185239_add_nii_type_id_to_manifestation.rb
enju_oai-0.3.1 spec/dummy/db/migrate/20090913185239_add_nii_type_id_to_manifestation.rb
enju_nii-0.3.1 db/migrate/20090913185239_add_nii_type_id_to_manifestation.rb
enju_nii-0.4.0.beta.1 db/migrate/20090913185239_add_nii_type_id_to_manifestation.rb
enju_oai-0.3.0 spec/dummy/db/migrate/20090913185239_add_nii_type_id_to_manifestation.rb
enju_nii-0.3.0 db/migrate/20090913185239_add_nii_type_id_to_manifestation.rb
enju_oai-0.3.0.beta.1 spec/dummy/db/migrate/20090913185239_add_nii_type_id_to_manifestation.rb
enju_nii-0.3.0.beta.1 db/migrate/20090913185239_add_nii_type_id_to_manifestation.rb