Installation: migrations won't be executed
getriebesand opened this issue · 4 comments
getriebesand commented
Hi,
I want to use this package and followed the install instructions, but php artisan migrate says "Nothing to migrate."
I saw that the migrations are not loaded in the provider. It seems to break updates?
maybe you can use
if (!Schema::hasTable('versions')) {
}
in the migration
MarcelWeidum commented
You can use php artisan migrate --path=vendor/mpociot/versionable/src/migrations
nonoesp commented
I'll revert the instructions (to these ones as @MarcelWeidum is showing). Automatic migrations were causing problems.
MarcelWeidum commented
I made a pull request #67
nonoesp commented
Thanks again!