Fixes #8207 mantis_project_hierarchy_table allows duplicate rows

This fixes a possible issue where the project hierarchy table can contain duplicate entries, by adding a unique index on the table
Merge pull request #171 from grangeway/schema

Fixes #8207 mantis_project_hierarchy_table allows duplicate rows
This fixes a possible issue where the project hierarchy table can contain duplicate entries, by adding a unique index on the table