In our recent article I showed you about creating migration in laravel and sometimes after creating migration we want to rollback migrations so in this article i will show you to rollback migration in laravel. Laravel artisan have multiple options…

How to rollback a specific migration in laravel ?
In our recent article i wrote about creating migration in laravel and sometimes after creating migration we want to rollback a specif migration so in this article i will show you to rollback a specific migration in laravel. Laravel artisan…

How to change data type of column in laravel 9 migration ?
Laravel covers most of the migration features like add, delete, indexing etc. but to modify the table like renaming column, change data type column to existing table laravel uses a separate package doctrine/dbal. In laravel migration we can change data…

How to rename column name in laravel 8 / 9 migration ?
Laravel covers most of the migration features like add, delete, indexing etc. but to modify the table like renaming column, change data type column to existing table laravel uses a separate package doctrine/dbal. In laravel migration we can rename colum…

How to delete column in laravel migration ?
Deleting column to existing table are easy as creating a new table and adding columns to it. In laravel migration we can delete colum to existing table using the same method we used in create migrations . Major difference between…

How to add column in laravel migration ?
Adding column to existing table are easy as creating a new table and adding columns to it. In laravel migration we can add new colum to existing table using the same method we used in create migrations . Major difference…

How to Create Migration in Laravel ?
Migrations are used to manage the version control among the developers so that they can sync database schema to each other. Laravel itself provides database migration capabilities to manage database schema updates like create table, alter, modify, drop etc. Main…

How to run raw SQL query in migration Laravel ?
Laravel provides its inbuilt feature to take care of migrations, Migrations like to make the version control for our database schema and share it across the developers but in laravel migrations we need to create eloquent query Using the schema…