added migrations for instant delivery

This commit is contained in:
Senad Uka
2015-07-26 19:10:16 +02:00
parent af6864954a
commit 68b25bf491
374 changed files with 135456 additions and 6 deletions

View File

@@ -0,0 +1,5 @@
class AddInstantDeliveryPriceToPlaces < ActiveRecord::Migration
def change
add_column :places, :instant_delivery_price, :decimal , precision: 5, scale: 2
end
end

View File

@@ -0,0 +1,5 @@
class AddInstantDeliveryToDeliveryDestinations < ActiveRecord::Migration
def change
add_column :delivery_destinations, :instant_delivery, :boolean, default: false
end
end