{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/dbal/issues/2471","repository_url":"https://api.github.com/repos/doctrine/dbal","labels_url":"https://api.github.com/repos/doctrine/dbal/issues/2471/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/dbal/issues/2471/comments","events_url":"https://api.github.com/repos/doctrine/dbal/issues/2471/events","html_url":"https://github.com/doctrine/dbal/issues/2471","id":171130179,"number":2471,"title":"MySQL Storage Engine","user":{"login":"manseuk","id":942371,"avatar_url":"https://avatars.githubusercontent.com/u/942371?v=3","gravatar_id":"","url":"https://api.github.com/users/manseuk","html_url":"https://github.com/manseuk","followers_url":"https://api.github.com/users/manseuk/followers","following_url":"https://api.github.com/users/manseuk/following{/other_user}","gists_url":"https://api.github.com/users/manseuk/gists{/gist_id}","starred_url":"https://api.github.com/users/manseuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manseuk/subscriptions","organizations_url":"https://api.github.com/users/manseuk/orgs","repos_url":"https://api.github.com/users/manseuk/repos","events_url":"https://api.github.com/users/manseuk/events{/privacy}","received_events_url":"https://api.github.com/users/manseuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-15T08:41:12Z","updated_at":"2016-08-15T09:42:31Z","closed_at":null,"body":"Hi,\r\n\r\nI am using Doctrine as part of Symfony\r\n\r\nWe would like to use the NDBCLUSTER storage engine for MySQL - we know that we can add @Table(enigine=\"ndbcluster\") on all of the entities - but we only what this storage engine in production environment not in all environments.\r\n\r\nHad a look through the documentation and cannot see any way to change the default storage engine\r\n\r\nI have also looked at the platform code and cant see how to access params from the configuration to be able to even set a default storage engine.\r\n\r\nIs this something that could be easily implemented ? or complex ?\r\n\r\nHappy to look at coding it up if someone could point me in the right direction - i think being able to configure a default storage engine per environment would be a good thing ?"},"comment":{"url":"https://api.github.com/repos/doctrine/dbal/issues/comments/239765279","html_url":"https://github.com/doctrine/dbal/issues/2471#issuecomment-239765279","issue_url":"https://api.github.com/repos/doctrine/dbal/issues/2471","id":239765279,"user":{"login":"kimhemsoe","id":568787,"avatar_url":"https://avatars.githubusercontent.com/u/568787?v=3","gravatar_id":"","url":"https://api.github.com/users/kimhemsoe","html_url":"https://github.com/kimhemsoe","followers_url":"https://api.github.com/users/kimhemsoe/followers","following_url":"https://api.github.com/users/kimhemsoe/following{/other_user}","gists_url":"https://api.github.com/users/kimhemsoe/gists{/gist_id}","starred_url":"https://api.github.com/users/kimhemsoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimhemsoe/subscriptions","organizations_url":"https://api.github.com/users/kimhemsoe/orgs","repos_url":"https://api.github.com/users/kimhemsoe/repos","events_url":"https://api.github.com/users/kimhemsoe/events{/privacy}","received_events_url":"https://api.github.com/users/kimhemsoe/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T09:42:30Z","updated_at":"2016-08-15T09:42:30Z","body":"Look at loadClassMetadata event\n\nOn Mon, Aug 15, 2016 at 11:39 AM, Kim Rasmussen <kimhemsoe@gmail.com> wrote:\n\n> As i mentioned. My best guess is events.\n>\n> On Mon, Aug 15, 2016 at 11:38 AM, manseuk <notifications@github.com>\n> wrote:\n>\n>> From a client point of view the difference is minimal - im not asking for\n>> the project to add support - just add support for a different engine based\n>> on environment. Or at least how i would add it\n>>\n>> —\n>> You are receiving this because you commented.\n>> Reply to this email directly, view it on GitHub\n>> <https://github.com/doctrine/dbal/issues/2471#issuecomment-239764637>,\n>> or mute the thread\n>> <https://github.com/notifications/unsubscribe-auth/AAit02NlWZR6p_1PpBsluQ8G87dD_ypEks5qgDOlgaJpZM4JkNRB>\n>> .\n>>\n>\n>\n"}}
{"actor":{"display_login":"kimhemsoe"}}