thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.77k stars 2.67k forks source link

How to update all migration file? #1292

Closed vanloc0301 closed 7 years ago

vanloc0301 commented 7 years ago

Description:

When I created a new table like Products with Tool > Database in Voyager.

I want to create a migration file sync with this.

Because when I copy source to another computer. I must run the command: php artisan voyager:install --with-dummy.

It does not create table Products because don't have migration file in the folder: database/migrations/.....

Thanks.

akazorg commented 7 years ago

Hi @vanloc0301

You have to create your own migration files in order to accomplish that, Voyager is not generating the migration at the moment :(

vanloc0301 commented 7 years ago

Thanks @akazorg

longuyvinh commented 6 years ago

You can use https://github.com/Xethron/migrations-generator to generate database ;)

github-actions[bot] commented 4 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.