My website is just working fine til i deployed it to heroku and the problem is heroku uses pgsql and I\'m using mysql and laravel framework.
my query is
You could do this:
$q->where('cast(vaccine_id AS VARCHAR)','LIKE','%' . $vaccine_id)
OR
$q->where('cast(vaccine_id AS TEXT)','LIKE','%' . $vaccine_id)