Product's primary key is no longer the barcode, but a new sequential id. (products.product_id added as new column. products.bar_code no longer primary key.) Necessary foreign keys have been updated.
Transactions have a new penalty column, and penalties applied are logged here. These are shown in the user transaction list as well.