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_oai-0.1.0.pre14 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_library-0.1.0.pre35 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_loc-0.1.0.pre1 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_ndl-0.1.0.pre33 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_question-0.1.0.pre12 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_purchase_request-0.1.0.pre10 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_flower-0.1.0.pre17 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_bookmark-0.1.2.pre15 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_circulation-0.1.0.pre37 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_library-0.1.0.pre34 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_subject-0.1.0.pre26 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_resource_merge-0.1.0.pre11 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_biblio-0.1.0.pre56 db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_event-0.1.17.pre19 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_leaf-1.1.0.rc13 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_ndl-0.1.0.pre32 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_biblio-0.1.0.pre55 db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_biblio-0.1.0.pre54 db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_flower-0.1.0.pre16 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_circulation-0.1.0.pre36 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb