diff --git a/src/Phpmig/Adapter/Illuminate/Database.php b/src/Phpmig/Adapter/Illuminate/Database.php index ee18563..ab0e1b0 100644 --- a/src/Phpmig/Adapter/Illuminate/Database.php +++ b/src/Phpmig/Adapter/Illuminate/Database.php @@ -44,7 +44,7 @@ public function fetchAll() $all = $this->adapter ->table($this->tableName) ->orderBy('version') - ->get(); + ->get()->toArray(); return array_map(function($v) use($fetchMode) { @@ -117,4 +117,4 @@ public function createSchema() $table->string('version'); }); } -} \ No newline at end of file +}