Sha256: f474fbd2db81d57f5e5c40aff7c188b1f37fa6c89e2588ada59ad078de8b3e65

Contents?: true

Size: 343 Bytes

Versions: 277

Compression:

Stored size: 343 Bytes

Contents

class AddPositionToPatronRelationship < ActiveRecord::Migration
  def self.up
    add_column :manifestation_relationships, :position, :integer
    add_column :patron_relationships, :position, :integer
  end

  def self.down
    remove_column :patron_relationships, :position
    remove_column :manifestation_relationships, :position
  end
end

Version data entries

277 entries across 276 versions & 14 rubygems

Version Path
enju_flower-0.1.0.pre3 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_subject-0.1.0.pre10 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_event-0.1.17.pre9 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_library-0.1.0.pre16 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_circulation-0.1.0.pre17 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_nii-0.1.0.pre7 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_event-0.1.17.pre8 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_subject-0.1.0.pre9 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_ndl-0.1.0.pre13 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_library-0.1.0.pre15 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_biblio-0.1.0.pre28 db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_nii-0.1.0.pre6 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_ndl-0.1.0.pre12 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_nii-0.1.0.pre5 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_biblio-0.1.0.pre27 db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_ndl-0.1.0.pre11 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_bookmark-0.1.2.pre9 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_subject-0.1.0.pre8 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_library-0.1.0.pre14 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_biblio-0.1.0.pre26 db/migrate/20100814091104_add_position_to_patron_relationship.rb