Remove unnecessary hash function.
- Was introduced for getting the last inserted ID before "lastInstertID()" was possible
- See b821399f00 (diff-a8e86a3c07531e66a3b0b4c8b4b07879R148)
This commit is contained in:
parent
41261ba7e1
commit
f9e3ff4b55
3 changed files with 2 additions and 14 deletions
|
|
@ -793,7 +793,6 @@ CREATE TABLE IF NOT EXISTS `manage` (
|
|||
--
|
||||
CREATE TABLE IF NOT EXISTS `notify` (
|
||||
`id` int unsigned NOT NULL auto_increment COMMENT 'sequential ID',
|
||||
`hash` varchar(64) NOT NULL DEFAULT '' COMMENT '',
|
||||
`type` smallint unsigned NOT NULL DEFAULT 0 COMMENT '',
|
||||
`name` varchar(255) NOT NULL DEFAULT '' COMMENT '',
|
||||
`url` varchar(255) NOT NULL DEFAULT '' COMMENT '',
|
||||
|
|
@ -810,7 +809,6 @@ CREATE TABLE IF NOT EXISTS `notify` (
|
|||
`name_cache` tinytext COMMENT 'Cached bbcode parsing of name',
|
||||
`msg_cache` mediumtext COMMENT 'Cached bbcode parsing of msg',
|
||||
PRIMARY KEY(`id`),
|
||||
INDEX `hash_uid` (`hash`,`uid`),
|
||||
INDEX `seen_uid_date` (`seen`,`uid`,`date`),
|
||||
INDEX `uid_date` (`uid`,`date`),
|
||||
INDEX `uid_type_link` (`uid`,`type`,`link`(190))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue