fixes grails-7729
Foreign Key constraints should be created when tablePerHierarchy=false
http://jira.grails.org/browse/GRAILS-7729