Closed bigjoevtrj closed 7 years ago
Eloquent 5.4 has removed the method getFetchMode and it results in error:
[Symfony\Component\Debug\Exception\FatalThrowableError] Call to undefined method Illuminate\Database\MySqlConnection::getFetchMode()
Just use PDO::FETCH_OBJ solve the problem, can you update the code?
Problem is fixed in #122 but not released yet. @bigjoevtrj you can use "davedevelopment/phpmig": "dev-master" or @davedevelopment please add tag v1.3.1 - patched release.
"davedevelopment/phpmig": "dev-master"
v1.3.1
Done! https://github.com/davedevelopment/phpmig/releases/tag/v1.3.1
Eloquent 5.4 has removed the method getFetchMode and it results in error:
[Symfony\Component\Debug\Exception\FatalThrowableError]
Call to undefined method Illuminate\Database\MySqlConnection::getFetchMode()
Just use PDO::FETCH_OBJ solve the problem, can you update the code?