Skip to content

Commit

Permalink
change table primary key
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Root committed Aug 13, 2016
1 parent a021003 commit ea94b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wwwroot/inc/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -1281,7 +1281,7 @@ function get_pseudo_file ($name)
`object_id` int(10) unsigned not NULL,
`profile_id` int(10) unsigned not NULL,
`host` char(255) DEFAULT NULL,
PRIMARY KEY (`object_id`),
PRIMARY KEY (`object_id`, `profile_id`),
CONSTRAINT `SNMPProfileMapping_object_id` FOREIGN KEY (`object_id`) REFERENCES `Object` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB";

Expand Down

0 comments on commit ea94b2e

Please sign in to comment.