mpociot/versionable

Installation: migrations won't be executed

getriebesand opened this issue · 4 comments

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

You can use php artisan migrate --path=vendor/mpociot/versionable/src/migrations

I'll revert the instructions (to these ones as @MarcelWeidum is showing). Automatic migrations were causing problems.

I made a pull request #67

Thanks again!