Updates to table creation script for FKs.