Sha256: 0d8c940522f58042da4cdb7116f93a5231fe380f2af7005c599ef5186a651346

Contents?: true

Size: 271 Bytes

Versions: 3

Compression:

Stored size: 271 Bytes

Contents

class CreateShiftOffs < ActiveRecord::Migration
  def change
    create_table :shift_offs do |t|
      t.integer :organization_id 
      t.text :name
      t.time :time
      t.text :am_pm

      t.timestamps
    end
  end
  def down
    drop_table :shift_offs
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20150304142621_create_shift_offs.rb
pshq_engine-0.1.5 db/migrate/20150304142621_create_shift_offs.rb
pshq_engine-0.0.1 db/migrate/20150304142621_create_shift_offs.rb