{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/migrations/issues/266","labels_url":"https://api.github.com/repos/doctrine/migrations/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/migrations/issues/266/comments","events_url":"https://api.github.com/repos/doctrine/migrations/issues/266/events","html_url":"https://github.com/doctrine/migrations/issues/266","id":87744120,"number":266,"title":"Call of \"setMigrationConfiguration\" has no any effect","user":{"login":"Koc","id":191082,"avatar_url":"https://avatars.githubusercontent.com/u/191082?v=3","gravatar_id":"","url":"https://api.github.com/users/Koc","html_url":"https://github.com/Koc","followers_url":"https://api.github.com/users/Koc/followers","following_url":"https://api.github.com/users/Koc/following{/other_user}","gists_url":"https://api.github.com/users/Koc/gists{/gist_id}","starred_url":"https://api.github.com/users/Koc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Koc/subscriptions","organizations_url":"https://api.github.com/users/Koc/orgs","repos_url":"https://api.github.com/users/Koc/repos","events_url":"https://api.github.com/users/Koc/events{/privacy}","received_events_url":"https://api.github.com/users/Koc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-06-12T14:20:15Z","updated_at":"2015-06-22T09:58:50Z","closed_at":null,"body":"```php\r\n$doctrineConfiguration = new Doctrine\\DBAL\\Migrations\\Configuration\\Configuration($app['db']);\r\n$doctrineConfiguration->setMigrationsNamespace('Pinboard\\\\DoctrineMigrations');\r\n$doctrineConfiguration->setMigrationsDirectory(__DIR__ . '/src/Pinboard/DoctrineMigrations');\r\n$doctrineConfiguration->registerMigrationsFromDirectory(__DIR__ . '/src/Pinboard/DoctrineMigrations');\r\n\r\n$doctrineCommands = array(\r\n    'ExecuteCommand',\r\n    'GenerateCommand',\r\n    'MigrateCommand',\r\n    'StatusCommand',\r\n    'VersionCommand',\r\n);\r\n\r\nforeach($doctrineCommands as $commandName) {\r\n    $fullCommandName = 'Doctrine\\\\DBAL\\\\Migrations\\\\Tools\\\\Console\\\\Command\\\\' . $commandName;\r\n    $command = new $fullCommandName();\r\n    $command->setMigrationConfiguration($doctrineConfiguration);\r\n\r\n    $console->add($command);\r\n}\r\n```\r\nProduces an error\r\n```\r\nYou have to specify a --db-configuration file or pass a Database Connection as a dependency to the Migrations.\r\n```\r\n\r\nBut it works on previous versions"},"comment":{"url":"https://api.github.com/repos/doctrine/migrations/issues/comments/114055589","html_url":"https://github.com/doctrine/migrations/issues/266#issuecomment-114055589","issue_url":"https://api.github.com/repos/doctrine/migrations/issues/266","id":114055589,"user":{"login":"mikeSimonson","id":907613,"avatar_url":"https://avatars.githubusercontent.com/u/907613?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeSimonson","html_url":"https://github.com/mikeSimonson","followers_url":"https://api.github.com/users/mikeSimonson/followers","following_url":"https://api.github.com/users/mikeSimonson/following{/other_user}","gists_url":"https://api.github.com/users/mikeSimonson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeSimonson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeSimonson/subscriptions","organizations_url":"https://api.github.com/users/mikeSimonson/orgs","repos_url":"https://api.github.com/users/mikeSimonson/repos","events_url":"https://api.github.com/users/mikeSimonson/events{/privacy}","received_events_url":"https://api.github.com/users/mikeSimonson/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T09:58:50Z","updated_at":"2015-06-22T09:58:50Z","body":"ping @Koc "}}