Sha256: f5e4f69a18caf524cff93886bd075ca4b0ce19240d6506ee2de125a643362f5e

Contents?: true

Size: 421 Bytes

Versions: 3

Compression:

Stored size: 421 Bytes

Contents

class CreateShifts < ActiveRecord::Migration
  def change
    create_table :shifts do |t|
      t.integer :day_of_week
      t.time :start_time
      t.time :end_time
      t.time :hours
      t.integer :schedule_id
      t.boolean :absence_excused, :default=>false
      t.boolean :absence_wo_excuse, :default=>false
      t.text :comments 
      t.time :late
      t.date :due_date
      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20140222020348_create_shifts.rb
pshq_engine-0.1.5 db/migrate/20140222020348_create_shifts.rb
pshq_engine-0.0.1 db/migrate/20140222020348_create_shifts.rb