diff --git a/SQL/tgstation_schema.sql b/SQL/tgstation_schema.sql index 5e053d8e110..30fd894e965 100644 --- a/SQL/tgstation_schema.sql +++ b/SQL/tgstation_schema.sql @@ -202,6 +202,11 @@ CREATE TABLE `library` ( PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; +-- +-- Create an index to speed up the libary +-- +CREATE INDEX deleted_idx ON `library` (`deleted`); + -- -- Table structure for table `player` -- @@ -327,4 +332,4 @@ CREATE TABLE `privacy` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2013-03-24 18:02:35 \ No newline at end of file +-- Dump completed on 2013-03-24 18:02:35