11 lines
202 B
Ruby
11 lines
202 B
Ruby
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
|