SQLSTATE[23000]: Integrity constraint violation: 1052 Column ‘created_at’

Illuminate\Database\QueryException SQLSTATE[23000]: Integrity constraint violation: 1052 Column ‘created_at’   I am getting this error when i am trying to join three tables in following code and the error is SQLSTATE[23000]: Integrity constraint violation: 1052 Column ‘created_at’ which i am getting when i try to run the project. Solution in the above program you are try … Read more

How to Generate Custom Unique ID in Laravel

The unique ID can be important part of any web application because it uniquely identify the record by that particular id and this unique id can be used for many purpose. Some people like to generate unique id as auto incremental and someone like to generate unique id in custom format. This custom id can … Read more

How to use implode and explode in PHP

Implode and explode functions in PHP are commonly used function in PHP. These function may be used in PHP frameworks such as Laravel, CodeIgniter. Implode and explode functions are used to work with arrays and strings. So in this article i am going to explain how can can use Implode and Explode function in PHP. … Read more

How to rollback specific table migration in Laravel

php artisan migrate:rollback – -path=/database/migrations/2022_specifi06_25_115909_create_states_table.php For recreating the migration php artisan migrate:refresh – -path=/database/migrations/2022_10_27_103718_create_hotel_rooms_table.php RavindraRavindra is Web & Mobile application designer and developer. He is experienced guy in web & mobile app designing and development. He is a tech blogger too. ravindra24.com

(“SQLSTATE[HY000]: General error: 1005 Can’t create table (errno: 121 “Duplicate key on write or update”)”)

I am getting the error (“SQLSTATE[HY000]: General error: 1005 Can’t create table (errno: 121 “Duplicate key on write or update”)”) on my Laravel project i have three migrations which are following users migration business_profiles migration ads migration When I try to run migration command on terminal of my visual studio code it shows me following … Read more