Sha256: 3017583d3a1c834023b3357010ecf31bb8055d060761820420281c5374ab1746

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

class CreateShopperDeliveries < ActiveRecord::Migration[5.0]
  def change
    create_table :shopper_deliveries do |t|
      t.string  :title, default: ''
      t.integer :min_days, null: false
      t.integer :max_days, null: false
      t.decimal :price, null: false, precision: 8, scale: 2

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoppper-0.1.0 db/migrate/20170127194999_create_shopper_deliveries.rb