| Versionen | |
|---|---|
| drupal7 | public DatabaseSchema_mysql::addIndex(&$ret, $table, $name, $fields) |
includes/
<?php
public function addIndex(&$ret, $table, $name, $fields) {
$query = 'ALTER TABLE {' . $table . '} ADD INDEX ' . $name . ' (' . $this->createKeySql($fields) . ')';
$ret[] = update_sql($query);
}
?>
Kommentare
Kommentar hinzufügen