Sha256: 9f3b517b6eb6614925d2d4f8436c25e6754a7ba8056744f022c137ad523fb047

Contents?: true

Size: 348 Bytes

Versions: 3

Compression:

Stored size: 348 Bytes

Contents

class ChangeEmployee < ActiveRecord::Migration
  def change
    remove_column :employees, :first_name
    remove_column :employees, :last_name
    
    add_column :employees, :fullName, :string
    add_column :employees, :employeeId, :integer
    add_column :employees, :email, :string
    add_column :employees, :phone_number, :integer

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20150506090012_change_employee.rb
pshq_engine-0.1.5 db/migrate/20150506090012_change_employee.rb
pshq_engine-0.0.1 db/migrate/20150506090012_change_employee.rb