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_ndl-0.1.0.pre15 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_question-0.1.0.pre8 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_subject-0.1.0.pre12 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_biblio-0.1.0.pre31 db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_circulation-0.1.0.pre20 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_leaf-1.1.0.beta3 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_leaf-1.1.0.pre3 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_library-0.1.0.pre20 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_event-0.1.17.pre11 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_library-0.1.0.pre19 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_library-0.1.0.pre18 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_biblio-0.1.0.pre30 db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_event-0.1.17.pre10 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_circulation-0.1.0.pre19 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_subject-0.1.0.pre11 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_ndl-0.1.0.pre14 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_bookmark-0.1.2.pre10 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_biblio-0.1.0.pre29 db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_circulation-0.1.0.pre18 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
enju_library-0.1.0.pre17 spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb