Fix composite fk on stock_transaction table