0

Is there a command/package for laravel that simplifies or automates simple Laravel migrations ?

Example : "php artisan migration:addfield --table: Posts --field: date_birth etc/parameters ..."

The goal is to simplify and automate simple actions like making small changes to tables, for example.

There is ?

2 Answers 2

1

You can use this package, which is created by Jeffrey Way (owner of Laracasts)

https://github.com/laracasts/Laravel-5-Generators-Extended

Sign up to request clarification or add additional context in comments.

Comments

0

Are you looking a for a field to add in existing table ??Then use this

php artisan make:migration add_date_of_birth_to_posts_table --table=posts 

You can directly mention the table without --table tag

php artisan make:migration add_date_of_birth_to_posts

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.