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_biblio-0.1.0.pre52 db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_flower-0.1.0.pre14 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_event-0.1.17.pre15 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_library-0.1.0.pre31 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_biblio-0.1.0.pre51 db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_subject-0.1.0.pre23 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_inter_library_loan-0.1.0.pre8 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_bookmark-0.1.2.pre13 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_oai-0.1.0.pre12 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_question-0.1.0.pre10 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_circulation-0.1.0.pre33 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_ndl-0.1.0.pre30 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_subject-0.1.0.pre22 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_event-0.1.17.pre14 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_library-0.1.0.pre30 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_library-0.1.0.pre29 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_biblio-0.1.0.pre50 db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_ndl-0.1.0.pre29 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_circulation-0.1.0.pre32 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_biblio-0.1.0.pre49 db/migrate/20100814091104_add_position_to_agent_relationship.rb