adspace


What do you mean by tagging used in laravel 5?

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


Please Help Members By Posting Answers For Below Questions

What is latest version of laravel?

869


What is current stable version of laravel?

870


Do you know what version of laravel do you generally use?

839


Tell us have you used lumen before?

808


How much laravel experience do you have?

815