Example #1
0
 protected function _removeIndices(array $keysToRemove)
 {
     $tableName = $this->getSource()->getTableName();
     foreach ($keysToRemove as $key) {
         if (!Garp_Spawn_MySql_IndexKey::delete($tableName, $key)) {
             throw new Exception("Could not set column '{$key->column}' to non-indexable.");
         }
     }
 }