Skip to content

Commit

Permalink
Resolves Issue #59
Browse files Browse the repository at this point in the history
No need to have two primary keys. I've selected ID as the primary key. In the report column, serial is listed as the primary key.
  • Loading branch information
wahlstedtw committed Nov 13, 2018
1 parent ae7a74a commit 345c7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dmarcts-report-parser.pl
Expand Up @@ -801,7 +801,7 @@ sub checkDatabase {
"dkim_align" , "enum('fail','pass','unknown') NOT NULL",
"identifier_hfrom" , "varchar(255)",
],
additional_definitions => "PRIMARY KEY (id), KEY serial (serial,ip), KEY serial6 (serial,ip6)",
additional_definitions => "KEY serial (serial,ip), KEY serial6 (serial,ip6)",
table_options => "",
},
);
Expand Down

0 comments on commit 345c7b5

Please sign in to comment.