Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ardakshalkar's avatar

After deployment Laravel doesn't quote literal fields

I deployed my laravel application on hosting. But now it doesn't work, it shows sql error: When I run php artisan migrate:refresh It shows an error, saying that it doesn't know column croudchecking: SELECT * FROM information_schema.tables WHERE table_schema=croudchecking and table_name=migrations So I found out that now all SQL requests are not quoted where they should be. How to solve this?

0 likes
1 reply
pardeepkumar's avatar

I think , first you go to .env file and check the database credentials and also check database.php file credentials also confirm database fields then run the php artisan command , and if you need for information visit Cloudways blog .

1 like

Please or to participate in this conversation.