Sha256: 7bd1a9ca383bc1479fe4e16dd8d4ad375c983c7065d59cef7378183884d8332c

Contents?: true

Size: 249 Bytes

Versions: 3

Compression:

Stored size: 249 Bytes

Contents

class CreateEmployees < ActiveRecord::Migration
  def change
    create_table :employees do |t|
      
      t.string :first_name
      t.string :last_name
      t.string :designation
      t.string :department

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20150409144023_create_employees.rb
pshq_engine-0.1.5 db/migrate/20150409144023_create_employees.rb
pshq_engine-0.0.1 db/migrate/20150409144023_create_employees.rb