Skip to content

Commit

Permalink
Add DB index
Browse files Browse the repository at this point in the history
Compliments tgstation#6555
  • Loading branch information
psykzz committed Jan 12, 2015
1 parent d5950a6 commit 4786884
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion SQL/tgstation_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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`
--
Expand Down Expand Up @@ -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
-- Dump completed on 2013-03-24 18:02:35

0 comments on commit 4786884

Please sign in to comment.