Sha256: 7102259cd462c4edbb57f6cc55e3d6ac8a81a486089836249a42f43edda3a994

Contents?: true

Size: 434 Bytes

Versions: 6

Compression:

Stored size: 434 Bytes

Contents

class AddVolumeNumberToManifestation < ActiveRecord::Migration[5.2]
  def self.up
    add_column :manifestations, :volume_number, :integer
    add_column :manifestations, :issue_number, :integer
    add_column :manifestations, :serial_number, :integer
  end

  def self.down
    remove_column :manifestations, :serial_number
    remove_column :manifestations, :issue_number
    remove_column :manifestations, :volume_number
  end
end

Version data entries

6 entries across 6 versions & 6 rubygems

Version Path
enju_inventory-0.4.0.rc.1 spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
enju_ndl-0.4.0.rc.1 spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
enju_circulation-0.4.0.rc.1 spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
enju_manifestation_viewer-0.4.0.rc.1 spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
enju_subject-0.4.0.rc.1 spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
enju_event-0.4.0.rc.1 spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb