added some models, started creating delivery destination state

This commit is contained in:
Senad Uka
2015-02-22 07:19:13 +01:00
parent 9c152e8adb
commit 2b6d93a437
8 changed files with 52 additions and 11 deletions

View File

@@ -0,0 +1,6 @@
class AddUserToDeliveryDestination < ActiveRecord::Migration
def change
add_column :delivery_destinations, :user_id, :integer
add_column :delivery_destinations, :anonymous_id_string, :string
end
end

View File

@@ -0,0 +1,5 @@
class AddAddressToCart < ActiveRecord::Migration
def change
add_column :carts, :delivery_destination_id, :integer
end
end