Sha256: 5a0d99090870d78152c1c2034badc74c33e25269f856250fe08e7f2e55bb7a69

Contents?: true

Size: 279 Bytes

Versions: 411

Compression:

Stored size: 279 Bytes

Contents

class AddBirthDateAndDeathDateToAgent < ActiveRecord::Migration
  def self.up
    add_column :agents, :birth_date, :string
    add_column :agents, :death_date, :string
  end

  def self.down
    remove_column :agents, :death_date
    remove_column :agents, :birth_date
  end
end

Version data entries

411 entries across 403 versions & 22 rubygems

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