Sha256: 4db61f91d302c61a70a3ba9d121b20cb278b555191e87eb0b037c01803285cba

Contents?: true

Size: 284 Bytes

Versions: 1

Compression:

Stored size: 284 Bytes

Contents

class AddBirthDateAndDeathDateToAgent < ActiveRecord::Migration[5.1]
  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

1 entries across 1 versions & 1 rubygems

Version Path
enju_seed-0.4.0.beta.1 spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb