+++ This bug was initially created as a clone of Bug #437735 +++ Add FK constraints for flags table and flagtypes table.
Add FK constraints for flags table and flagtypes table.
Patch has been accepted by upstream. Close this bug.