Sha256: 29b55e1d5784d09fef9e227acbed81c4e800ae68dd806801da4f97e8c8adca2a

Contents?: true

Size: 280 Bytes

Versions: 9

Compression:

Stored size: 280 Bytes

Contents

class AddBirthDateAndDeathDateToPatron < 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

9 entries across 9 versions & 1 rubygems

Version Path
enju_leaf-1.1.0.rc12 spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb
enju_leaf-1.1.0.rc11 spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb
enju_leaf-1.1.0.rc10 spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb
enju_leaf-1.1.0.rc9 spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb
enju_leaf-1.1.0.rc8 spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb
enju_leaf-1.1.0.rc7 spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb
enju_leaf-1.1.0.rc6 spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb
enju_leaf-1.1.0.rc5 spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb
enju_leaf-1.1.0.rc4 spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb