Adds foreign key support to PG and Redshift