diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-02 11:41:17 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-02 11:41:17 +1000 |
| commit | af357b566133a176935eff7490f23183fb897826 (patch) | |
| tree | c626fc08ae82bdd68caf86aa112f5e5f821d74ff /install.sql | |
| parent | 9494e0185c8661ed18c373ce46cbf9a66cb4d008 (diff) | |
another index change
Diffstat (limited to 'install.sql')
| -rw-r--r-- | install.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sql b/install.sql index 2978b5c3..a3c03cb1 100644 --- a/install.sql +++ b/install.sql @@ -101,7 +101,7 @@ CREATE TABLE IF NOT EXISTS `ip_notes` ( `time` int(11) NOT NULL, `body` text NOT NULL, UNIQUE KEY `id` (`id`), - KEY `ip` (`ip`) + KEY `ip_lookup` (`ip`, `time`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- |
