{"action":"created","issue":{"url":"https://api.github.com/repos/cooperl22/laravel-db2/issues/1","labels_url":"https://api.github.com/repos/cooperl22/laravel-db2/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/cooperl22/laravel-db2/issues/1/comments","events_url":"https://api.github.com/repos/cooperl22/laravel-db2/issues/1/events","html_url":"https://github.com/cooperl22/laravel-db2/issues/1","id":70491758,"number":1,"title":"Undefined index: aggregate","user":{"login":"jbh","id":5510679,"avatar_url":"https://avatars.githubusercontent.com/u/5510679?v=3","gravatar_id":"","url":"https://api.github.com/users/jbh","html_url":"https://github.com/jbh","followers_url":"https://api.github.com/users/jbh/followers","following_url":"https://api.github.com/users/jbh/following{/other_user}","gists_url":"https://api.github.com/users/jbh/gists{/gist_id}","starred_url":"https://api.github.com/users/jbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbh/subscriptions","organizations_url":"https://api.github.com/users/jbh/orgs","repos_url":"https://api.github.com/users/jbh/repos","events_url":"https://api.github.com/users/jbh/events{/privacy}","received_events_url":"https://api.github.com/users/jbh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-23T19:25:29Z","updated_at":"2015-07-01T10:52:17Z","closed_at":null,"body":"Hi there. I'm trying to get this to work with DB2 currently, and I keep getting this error from artisan:\r\n\r\n```\r\n  [ErrorException]            \r\n  Undefined index: aggregate  \r\n\r\nException trace:\r\n () at /www/october/htdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1649\r\n Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError() at /www/october/htdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1649\r\n Illuminate\\Database\\Query\\Builder->aggregate() at /www/october/htdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1596\r\n Illuminate\\Database\\Query\\Builder->max() at /www/october/htdocs/vendor/laravel/framework/src/Illuminate/Database/Migrations/DatabaseMigrationRepository.php:105\r\n Illuminate\\Database\\Migrations\\DatabaseMigrationRepository->getLastBatchNumber() at /www/october/htdocs/vendor/laravel/framework/src/Illuminate/Database/Migrations/DatabaseMigrationRepository.php:95\r\n Illuminate\\Database\\Migrations\\DatabaseMigrationRepository->getNextBatchNumber() at /www/october/htdocs/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php:104\r\n Illuminate\\Database\\Migrations\\Migrator->runMigrationList() at /www/october/htdocs/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php:82\r\n Illuminate\\Database\\Migrations\\Migrator->run() at /www/october/htdocs/modules/system/Classes/UpdateManager.php:351\r\n System\\Classes\\UpdateManager->migrateModule() at /www/october/htdocs/modules/system/Classes/UpdateManager.php:132\r\n System\\Classes\\UpdateManager->update() at /www/october/htdocs/modules/system/Console/OctoberUp.php:34\r\n System\\Console\\OctoberUp->fire() at n/a:n/a\r\n call_user_func_array() at /www/october/htdocs/vendor/laravel/framework/src/Illuminate/Container/Container.php:523\r\n Illuminate\\Container\\Container->call() at /www/october/htdocs/vendor/laravel/framework/src/Illuminate/Console/Command.php:115\r\n Illuminate\\Console\\Command->execute() at /www/october/htdocs/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:257\r\n Symfony\\Component\\Console\\Command\\Command->run() at /www/october/htdocs/vendor/laravel/framework/src/Illuminate/Console/Command.php:101\r\n Illuminate\\Console\\Command->run() at /www/october/htdocs/vendor/symfony/console/Symfony/Component/Console/Application.php:874\r\n Symfony\\Component\\Console\\Application->doRunCommand() at /www/october/htdocs/vendor/symfony/console/Symfony/Component/Console/Application.php:195\r\n Symfony\\Component\\Console\\Application->doRun() at /www/october/htdocs/vendor/symfony/console/Symfony/Component/Console/Application.php:126\r\n Symfony\\Component\\Console\\Application->run() at /www/october/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:94\r\n Illuminate\\Foundation\\Console\\Kernel->handle() at /www/october/htdocs/artisan:36\r\n```\r\n\r\nAny ideas? This is for an AS400 running DB2 v7.1.\r\n\r\nI realize that that is outdated, but I checked the grammars, and I don't believe that is part of the issue."},"comment":{"url":"https://api.github.com/repos/cooperl22/laravel-db2/issues/comments/117602342","html_url":"https://github.com/cooperl22/laravel-db2/issues/1#issuecomment-117602342","issue_url":"https://api.github.com/repos/cooperl22/laravel-db2/issues/1","id":117602342,"user":{"login":"bskimball","id":5348828,"avatar_url":"https://avatars.githubusercontent.com/u/5348828?v=3","gravatar_id":"","url":"https://api.github.com/users/bskimball","html_url":"https://github.com/bskimball","followers_url":"https://api.github.com/users/bskimball/followers","following_url":"https://api.github.com/users/bskimball/following{/other_user}","gists_url":"https://api.github.com/users/bskimball/gists{/gist_id}","starred_url":"https://api.github.com/users/bskimball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bskimball/subscriptions","organizations_url":"https://api.github.com/users/bskimball/orgs","repos_url":"https://api.github.com/users/bskimball/repos","events_url":"https://api.github.com/users/bskimball/events{/privacy}","received_events_url":"https://api.github.com/users/bskimball/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T10:52:17Z","updated_at":"2015-07-01T10:52:17Z","body":"I believe October uses doctrine and not eloquent for its database module."}}