major697
major697

Reputation: 1862

Laravel VentureCraft/revisionable error migration table

I have a problem with install VentureCraft/revisionable in Laravel. When I trying use this command:

php artisan migrate --package=venturecraft/revisionable

Artisan returned error:

[Symfony\Component\Console\Exception\RuntimeException] The "--package" does not exist.

I using Laravel version 5.2

Upvotes: 1

Views: 165

Answers (2)

Andrey Savenkov
Andrey Savenkov

Reputation: 36

Simply, you can migrate by:

php artisan migrate --path=vendor/venturecraft/revisionable/src/migrations

Upvotes: 2

Steve Bauman
Steve Bauman

Reputation: 8678

The --package syntax was only available in Laravel 4. It seems like this package has old documentation based off that release.

You'll need to go into the vendor/venturecraft/revisionable/migrations folder and copy the migration and insert it in your database/migrations folder.

Then run the command php artisan migrate.

Upvotes: 2

Related Questions