Sha256: 31676c9036ae29c2b6beeb03e0c9ca7f136b002864e531d0a1b81d4c004c6a5d

Contents?: true

Size: 340 Bytes

Versions: 405

Compression:

Stored size: 340 Bytes

Contents

class AddPositionToAgentRelationship < ActiveRecord::Migration
  def self.up
    add_column :manifestation_relationships, :position, :integer
    add_column :agent_relationships, :position, :integer
  end

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

Version data entries

405 entries across 397 versions & 22 rubygems

Version Path
enju_leaf-1.2.2 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_manifestation_viewer-0.2.4 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_library-0.2.5 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_manifestation_viewer-0.2.3 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_biblio-0.2.5 db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_bookmark-0.2.2 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_purchase_request-0.2.1 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_inter_library_loan-0.2.0 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_message-0.2.4 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_event-0.2.3 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_circulation-0.2.5 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_seed-0.2.3 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_biblio-0.2.4 db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_subject-0.2.3 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_manifestation_viewer-0.2.2 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_library-0.2.4 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_message-0.2.3 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_event-0.2.2 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_circulation-0.2.4 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_nii-0.2.1 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb