ActiveRecord::Migration[<%= "#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}" %>] def change create_table :carts do |t| t.integer <%= user_id %> t.integer <%= product_id %>