Ensure consistent FK names
Related to #206 (closed).
As defined in the registry dev guidelines, for consistency we should use custom names for FK constraints.
This MR fixes the DB DDL so that inline FK constraints are replaced with explicit FK constraints using a custom name.
Edited by João Pereira