Add (name) index to articles-overview.db3

This commit is contained in:
Retro_Guy 2021-01-20 22:03:28 -07:00
parent 34ed3f90ce
commit 8192068592
1 changed files with 2 additions and 0 deletions

View File

@ -1219,6 +1219,8 @@ function rslight_db_open($database, $table='overview') {
$stmt->execute();
$stmt = $dbh->query('CREATE INDEX IF NOT EXISTS id_newsgroup_number on overview(newsgroup,number)');
$stmt->execute();
$stmt = $dbh->query('CREATE INDEX IF NOT EXISTS id_name on overview(name)');
$stmt->execute();
return($dbh);
}