diff --git a/Rocksolid_Light/rocksolid/newsportal.php b/Rocksolid_Light/rocksolid/newsportal.php index 1868c76..342bb81 100644 --- a/Rocksolid_Light/rocksolid/newsportal.php +++ b/Rocksolid_Light/rocksolid/newsportal.php @@ -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); }