Closed AzeemMichael closed 7 years ago
Can you paste the stack trace for the error?
For the people that have laravel 5.3 and use NeoEloquent 1.4 or up. There is this method called lists which is replaced by pluck. Go to your vendor\vinelab\neoeloquent\src\Vinelab\NeoEloquent\Migrations and go to DatabaseMigrationRepository.php
public function getRan() { return $this->model->all()->lists('migration')->toArray(); }
Change it to
public function getRan() { return $this->model->all()->pluck('migration')->toArray(); }
and you're all set.
(I took 4 hours to fix this.. )
@dennisvanvalderen sorry to hear you spent all that time 😞 will fix and push
v1.4.1 has been released with the fix suggested by @dennisvanvalderen. A composer update
should do the trick.
[BadMethodCallException] Method lists does not exist.
onphp artisian neo4j:migrate
php artisian neo4j:migrate:reset
runs into an infinite loop with a messageNothing to rollback.