diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-07 18:33:02 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-07 18:33:02 -0700 |
commit | 2e475ceab05c92014e428fe6db6bc79badaad9ca (patch) | |
tree | 562a2a4a63b410f503eb8ea3401cdd887f55ebd2 /lib/mysqlschema.php | |
parent | efa8ff82f4a364f6ba183a683431e9d83652cd9f (diff) |
Some more poking at schema stuff, on the road towards a more portable table-modification with the new schema bits
Diffstat (limited to 'lib/mysqlschema.php')
-rw-r--r-- | lib/mysqlschema.php | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/mysqlschema.php b/lib/mysqlschema.php index 696b2b8d2..0a5545286 100644 --- a/lib/mysqlschema.php +++ b/lib/mysqlschema.php @@ -323,31 +323,6 @@ class MysqlSchema extends Schema } /** - * Look over a list of column definitions and list up which - * indices will be present - */ - private function _indexList(array $columns) - { - $list = array('uniques' => array(), - 'primary' => array(), - 'indices' => array()); - foreach ($columns as $cd) { - switch ($cd->key) { - case 'UNI': - $list['uniques'][] = $cd->name; - break; - case 'PRI': - $list['primary'][] = $cd->name; - break; - case 'MUL': - $list['indices'][] = $cd->name; - break; - } - } - return $list; - } - - /** * Get the unique index key name for a given column on this table */ function _uniqueKey($tableName, $columnName) |