Sha256: faf9a2fc7d5d3380f5d98aec7288d91962a07aa55fbde20f2ceeb42d4fd1fc81
Contents?: true
Size: 509 Bytes
Versions: 3
Compression:
Stored size: 509 Bytes
Contents
class CreateTimeoffs < ActiveRecord::Migration def change create_table :timeoffs do |t| t.integer :day_of_week t.string :reason t.boolean :all_day, :default => false t.time :start_time t.time :end_time t.string :status, :default => 'pending' t.integer :user_id t.date :off_date t.datetime :approved_date t.integer :approved_by t.datetime :cancelled_date t.boolean :vacation, :default => false t.timestamps end end end
Version data entries
3 entries across 3 versions & 1 rubygems