Closed nanaaikinson closed 2 months ago
Just delete the migrations files in database/migrations. They shouldn't be published with the config as they are auto-discovered by laravel when migrating (that's what I understand anyway).
Just delete the migrations files in database/migrations. They shouldn't be published with the config as they are auto-discovered by laravel when migrating (that's what I understand anyway).
Shouldn't it be best for users to publish the migrations and alter them (in my case, I use string-based IDs) instead of auto migration?
Just delete the migrations files in database/migrations. They shouldn't be published with the config as they are auto-discovered by laravel when migrating (that's what I understand anyway).
Shouldn't it be best for users to publish the migrations and alter them (in my case, I use string-based IDs) instead of auto migration?
Indeed :)
Have a look a the config file, you have a ignore_migrations
that should solve your issue
Just delete the migrations files in database/migrations. They shouldn't be published with the config as they are auto-discovered by laravel when migrating (that's what I understand anyway).
Shouldn't it be best for users to publish the migrations and alter them (in my case, I use string-based IDs) instead of auto migration?
Indeed :)
Have a look a the config file, you have a
ignore_migrations
that should solve your issue
Worked. Thanks
I encountered an error while running php artisan migrate in a fresh Laravel 11 application after installing and setting up this package. The error message was:
Cannot declare class CreateMediableTables, because the name is already in use
.I renamed all the migration classes published by the package to anonymous classes using the following format
The are multiple migrations being run
Any insights or suggestions to resolve this issue would be greatly appreciated. Thank you!