Add (name) index to articles-overview.db3
This commit is contained in:
parent
34ed3f90ce
commit
8192068592
|
@ -1219,6 +1219,8 @@ function rslight_db_open($database, $table='overview') {
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
$stmt = $dbh->query('CREATE INDEX IF NOT EXISTS id_newsgroup_number on overview(newsgroup,number)');
|
$stmt = $dbh->query('CREATE INDEX IF NOT EXISTS id_newsgroup_number on overview(newsgroup,number)');
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
|
$stmt = $dbh->query('CREATE INDEX IF NOT EXISTS id_name on overview(name)');
|
||||||
|
$stmt->execute();
|
||||||
return($dbh);
|
return($dbh);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue