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_subject-0.2.0.beta.5 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_manifestation_viewer-0.2.0.beta.4 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_grid-0.2.0.beta.3 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_inventory-0.2.0.beta.3 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_nii-0.2.0.beta.3 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_oai-0.2.0.beta.4 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_loc-0.2.0.beta.3 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_bookmark-0.2.0.beta.5 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_question-0.2.0.beta.4 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_purchase_request-0.2.0.beta.2 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_subject-0.2.0.beta.4 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_circulation-0.2.0.beta.3 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_message-0.2.0.beta.4 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_library-0.2.0.beta.9 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_leaf-1.2.0.beta.3 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_seed-0.2.0.beta.6 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_manifestation_viewer-0.2.0.beta.3 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_subject-0.2.0.beta.3 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_question-0.2.0.beta.3 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_bookmark-0.2.0.beta.3 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb