class AddBarcodeColumnToProduct < ActiveRecord::Migration def change add_column :products, :barcode, :string, null: true end end