Sha256: 1a0e50299ed7cabf2809d64f2b3c601d522500a1f9723e3ec82b3928c1bdab6e

Contents?: true

Size: 299 Bytes

Versions: 3

Compression:

Stored size: 299 Bytes

Contents

class CreateCancellations < ActiveRecord::Migration
  def change
    create_table :cancellations do |t|
      t.integer :shift_id
      t.string :reason
      t.string :status, :default => 'pending'
      t.datetime  :approved_date
      t.integer :approved_by

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20140302153302_create_cancellations.rb
pshq_engine-0.1.5 db/migrate/20140302153302_create_cancellations.rb
pshq_engine-0.0.1 db/migrate/20140302153302_create_cancellations.rb