Open LeeWeiZhang opened 4 years ago
Have you tried using the --ignore command to specify tables you don't want to generate migrations for? For example: php artisan migrate:generate --ignore=user,post
will not create migration for users and posts table
yes I have already using it. I am working on the project that have hundreds of table and only some of it have migration. So I compare the tables and migration manually to make the list of table to ignore.
In my application, it already have some existing migration and some of the table was not. I wish that if we can run
then it generate only the migrations that not yet create.
Please tell me if this suggestion is feasible.