MssqlPlatform needs own getDropIndexDDL because of different syntax #99

justanerd opened this Issue Sep 21, 2011 · 4 comments

3 participants


if propel tries to drop a index on a mssql database it doesn't work because the generated syntax is incorrect.
Mssql needs a table name before the index name.
Here is my version of getDropIndexDDL in MssqPlatform:

     * Builds the DDL SQL to drop an Index.
     * @param      Index $index
     * @return     string
    public function getDropIndexDDL(Index $index)
        $pattern = "
        return sprintf($pattern,$this->quoteIdentifier($index->getTable()->getName()), 
Propel member

Could you please write the patch, the unit test, and make a PR?

Propel member

ping @justanerd ?

Propel member

@justanerd any news?

Propel member

Or @CraftyShadow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment