Sha256: ea2b5c63e2b260e0fb8cd615ed4505dc4b9b128bcea67278ab3d85609e9dc0f1

Contents?: true

Size: 260 Bytes

Versions: 1

Compression:

Stored size: 260 Bytes

Contents

class CreateEmployees < ActiveRecord::Migration
  def change
    create_table :employees do |t|
      t.references :user
      t.references :manager

      t.timestamps
    end
    add_index :employees, :user_id
    add_index :employees, :manager_id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
multiinsert-0.0.1 db/migrate/20130305091849_create_employees.rb