Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

New indices

  • Loading branch information...
commit 43e9b2ec1095b4ebb1c62cac6cd8c37ef7aea86a 1 parent a4c6e86
@gonzalop gonzalop authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 createmomadb/statements.txt
View
4 createmomadb/statements.txt
@@ -41,7 +41,8 @@ CREATE TABLE `moma`.`reports_master` (
`totalpinvokes` INT(11) NOT NULL,
`haswpf` INT(1) NOT NULL,
PRIMARY KEY (`report_id`),
- UNIQUE KEY `idx_master_guid` (`guid`)
+ UNIQUE KEY `idx_master_guid` (`guid`),
+ KEY `idx_master_submitdate` (`submit_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
@STATEMENT
CREATE TABLE `moma`.`reports_members` (
@@ -88,6 +89,7 @@ CREATE TABLE `moma`.`reports_counts` (
`TotalPInvoke` INT(11) NOT NULL,
`TotalProblems` int(11) NOT NULL,
PRIMARY KEY (`report_id`),
+ KEY `idx_rc_totalprb` (`TotalProblems`),
CONSTRAINT `fk_report_id_count` FOREIGN KEY `fk_report_id_count` (`report_id`)
REFERENCES `reports_master` (`report_id`)
ON DELETE CASCADE
Please sign in to comment.
Something went wrong with that request. Please try again.