{"issue":{"state":"open","pull_request":{"diff_url":"https://github.com/davedevelopment/phpmig/pull/8.diff","html_url":"https://github.com/davedevelopment/phpmig/pull/8","patch_url":"https://github.com/davedevelopment/phpmig/pull/8.patch"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/09726775d706fe9e3b4c53a1d43cc106?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"09726775d706fe9e3b4c53a1d43cc106","url":"https://api.github.com/users/theDisco","login":"theDisco","id":199368},"milestone":null,"assignee":null,"updated_at":"2011-11-07T08:26:24Z","labels":[],"comments":2,"closed_at":null,"url":"https://api.github.com/repos/davedevelopment/phpmig/issues/8","body":"Hi,\r\n\r\nI discovered your tool and wanted to integrate it into my ZF projects. As it was missing the adapter for ZF I decided to write one. Unfortunately Zend_Db is only an ORM and create and describe statements have to be consumed from other resources. Since ZF provides an excellent configuration tool Zend_Config I used it to standardize the access to the configuration independent from its format. Any feedback is more than welcome.\r\n\r\nBest\r\nWojtek","html_url":"https://github.com/davedevelopment/phpmig/issues/8","title":"Adapter for Zend_Db","number":8,"id":2155905,"created_at":"2011-11-06T12:43:39Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/09726775d706fe9e3b4c53a1d43cc106?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"09726775d706fe9e3b4c53a1d43cc106","url":"https://api.github.com/users/theDisco","login":"theDisco","id":199368},"updated_at":"2011-11-07T08:26:24Z","url":"https://api.github.com/repos/davedevelopment/phpmig/issues/comments/2651049","body":"Hi Dave,\r\n\r\nyou are right, Adapters provide a describeTable method and it is part of the public API. I totally didn't think about that. In this case we don't need the hasSchemaStatement property.\r\n\r\nAbout the configuration. What if we create a folder config and provide configurations for all common RDBMS? This way user will be able to choose from configuration that suits him. What do you think about that?\r\n\r\nI will also rethrow exceptions. You are definitely right, user need some feedback that something went wrong.\r\n\r\nI will change that tonight.\r\n\r\nBest","id":2651049,"created_at":"2011-11-07T08:26:24Z"}}