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.1.0.pre21 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_library-0.1.0.pre25 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_event-0.1.17.pre13 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_biblio-0.1.0.pre43 db/migrate/20100814091104_add_position_to_agent_relationship.rb
enju_ndl-0.1.0.pre26 spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb