Added reading foreign keys from existing dbs