Vinelab / NeoEloquent

The Neo4j OGM for Laravel
MIT License
633 stars 199 forks source link

Fix Migration Rollback Error #192 #215

Closed javiertoledos closed 6 years ago

javiertoledos commented 7 years ago

Make Vinelab/NeoEloquent/Console/Migrations/MigrateRollbackCommand to extend from BaseCommand instead of Illuminate\Console\Command to take advantage of getMigrationPath method. Adds "bench", "package", "path" options required by the getMigrationPath method. These changes are made to make neo4j:migrate:rollback command to work with Laravel 5.3

Mulkave commented 7 years ago

@javiertoledos thanks for the fix! Any idea why the tests fail with this? :

Method forPage(2, 1) from Mockery_15_Vinelab_NeoEloquent_Eloquent_Builder should be called exactly 1 times but called 0 times.
Mulkave commented 6 years ago

Had to have all the tests pass, sorry for closing but this is outdated now.