laravel index a column code example
Example 1: laravel migration
php artisan migrate
Example 2: laravel make migration
php artisan make:migration CreateUsersTable
php artisan migrate
php artisan make:migration CreateUsersTable