What do you mean by tagging used in laravel 5?



What do you mean by tagging used in laravel 5?..

Answer / 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

More Laravel PHP Framework Interview Questions

What is schema in laravel?

1 Answers  


how we can upload files in laravel?

1 Answers  


What is a Views ?

1 Answers  


Do you know what developed the laravel?

1 Answers  


In which folder robot.txt is placed?

1 Answers  


what is implementation measures in CSRF Protection ?

2 Answers  


What are the main differences between laravel 4 and laravel 5.x?

1 Answers  


How to write html code in laravel controller?

1 Answers  


What is database migration. How to create migration via artisan?

1 Answers  


What is Decryption Process ?

2 Answers  


Explain fluent query builder in laravel.

1 Answers  


How do I require authentication for a set of routes associated with a subdomain?

1 Answers  


Categories