davedevelopment / phpmig

Simple migrations system for php
Other
569 stars 92 forks source link

Problem with Eloquent 5.4 #125

Closed bigjoevtrj closed 7 years ago

bigjoevtrj commented 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?

sim2github commented 7 years ago

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 commented 7 years ago

Done! https://github.com/davedevelopment/phpmig/releases/tag/v1.3.1