function shurly_update_6102 in ShURLy 6
Make the source field case-sensitive.
File
- ./
shurly.install, line 169 - Shurly install file
Code
function shurly_update_6102() {
$ret = array();
db_drop_index($ret, 'shurly', 'source');
$ret[] = update_sql("ALTER TABLE {Shurly} CHANGE `Source` `Source` VARCHAR(255) BINARY NOT NULL");
db_add_index($ret, 'shurly', 'source', array(
'source' => 'source',
));
return $ret;
}