+++ This bug was initially created as a clone of Bug #440366 +++ Add FK constraints for versions table and milestones table.