cart creation backend logic is at place / adding items in progress
This commit is contained in:
10
front-api/db/migrate/20150206035042_create_item_in_carts.rb
Normal file
10
front-api/db/migrate/20150206035042_create_item_in_carts.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class CreateItemInCarts < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :item_in_carts do |t|
|
||||
t.integer :cart_id
|
||||
t.integer :item_id
|
||||
|
||||
t.timestamps null: false
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user