$data = [
'barcode' => $getProduct->barcode,
];
$productMatching = ProductMatching::firstOrCreate(
['barcode' => $getProduct->barcode,],
$data
);
if($getProduct->barcode !== $productMatching->barcode){
echo 'Hata. '.$getProduct->barcode.' - '.$productMatching->barcode;
}Hata. 2222002BÇ - 2222002BC2222002BÇ verisi yolladığında 2222002BC bu veriyi görüyor. İşin kötü yanı tüm sorgularda bu şekilde. Bunu nasıl düzeltirim.
utf8mb4_unicode_ci
yedek aldıktan sonra aşağıdaki işlemi denemenizi öneririm.