CreateTaggableTable gets republished each time a migration from a different library is published
Scaenicus opened this issue · 1 comments
Scaenicus commented
Reproduce
- Run
php artisan vendor:publish --tag=migrations
thriceclass CreateTaggableTable
gets created 3 times (each with a new timestamp)- However even the first time would be unnecessary since I still can find the previous version's
0000_00_00_000000_create_taggable_table
in the migrations.
- Also tested after
composer dumpautoload
in between, but still the migrations get republished each time.
cviebrock commented
Yeah, I made some changes to the migration code. In short, if you are just upgrading from an old version, and already have the required tables/migrations, you can skip the artisan vendor:publish
step. That would only apply to new installs.