adspace
Answer Posted / Sanjay Sahani
In Laravel 5, tags are a way to group database migrations together. This can be useful for organizing migrations or running specific sets of migrations as needed.nnYou can apply a tag to a migration using the php artisan make:migration command with the --tag option:nn$ php artisan make:migration create_users_table --tag=usernnThis will create a new migration file and associate it with the 'user' tag. Later, you can run all migrations associated with a specific tag using the php artisan migrate:tags command.nnFor example:nn$ php artisan migrate:tags user
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers