Sha256: 7aacc824b0ac58e1ccc2780668e80ef97d3e9518bd0026588c6a7f79fc14e474

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

class AddVolumeNumberToManifestation < ActiveRecord::Migration[5.0]
  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

1 entries across 1 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.4 spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb