Fix misnamed unique constraint

This commit is contained in:
Brion Vibber 2010-10-18 18:16:07 -07:00
parent b865ded7ff
commit d3f8a880a9
2 changed files with 2 additions and 6 deletions

View File

@ -650,7 +650,7 @@ $schema['user_group'] = array(
),
'primary key' => array('id'),
'unique keys' => array(
'user_uri_key' => array('uri'),
'user_group_uri_key' => array('uri'),
),
'foreign keys' => array(
'user_group_design_id_fkey' => array('design', array('design_id' => 'id')),

View File

@ -653,11 +653,7 @@ class Schema
function quoteValue($val)
{
if (is_int($val) || is_float($val) || is_double($val)) {
return strval($val);
} else {
return '"' . $this->conn->escapeSimple($val) . '"';
}
return $this->conn->quoteSmart($val);
}
/**