Sha256: 321d3db656a555962defd26d432818f32e80e795ae89741ae118ed6d159d8aa9

Contents?: true

Size: 407 Bytes

Versions: 2

Compression:

Stored size: 407 Bytes

Contents

class CreateHours < ActiveRecord::Migration
  def self.up
    create_table :hours do |t|
      t.string :monday
      t.string :tuesday
      t.string :wednesday
      t.string :thursday
      t.string :friday
      t.string :saturday
      t.string :sunday
      t.integer :supplier_id
      t.integer :pickup_location_id

      t.timestamps
    end
  end

  def self.down
    drop_table :cities
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_suppliers-0.0.1 db/migrate/20110928203155_create_hours.rb
spree_suppliers-0.60.3 db/migrate/20110928203155_create_hours.rb