fridge-project/dbal — pull request #2 by egeloen (2012-07-10 23:41:48+00:00)
Title: [SchemaManager] Fix dropping behavior

[![Build Status](https://secure.travis-ci.org/fridge-project/dbal.png?branch=r-schema-manager)](http://travis-ci.org/fridge-project/dbal)

Before this PR, all `SchemaManager::drop*` methods was not type hinted (parameters was simple string). That's make API easy to use but have some several drawbacks. For example, some SGBD (PostgreSQL) does not use the same SQL query to drop a unique/non-unique index. So, we are not able to determine which query generate.

After this PR, all `SchemaManager::drop*` methods will be type hinted. At the same time, all `Platform::getDrop*` will be type hinted too & will have the responsability to determine which query generate.