# Indexes to FK lost when opening model with 5.3.4.13 version made with older versions

**URL:** <https://forums.toadworld.com/t/indexes-to-fk-lost-when-opening-model-with-5-3-4-13-version-made-with-older-versions/32338>\
**Category:** Toad Data Modeler\
**Created:** [January 19, 2015, 4:33am UTC](https://forums.toadworld.com/t/indexes-to-fk-lost-when-opening-model-with-5-3-4-13-version-made-with-older-versions/32338 "2015-01-19T04:33:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![desarrollo\_687](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/desarrollo_687/32/59_2.png) [@desarrollo\_687](https://forums.toadworld.com/u/desarrollo_687)\
**Post date:** [January 19, 2015, 4:33am UTC](https://forums.toadworld.com/t/indexes-to-fk-lost-when-opening-model-with-5-3-4-13-version-made-with-older-versions/32338/1 "2015-01-19T04:33:37Z")

</div>

Hi,

When I try to open a model made with TDM 5.2.4.25 with the new 5.3 version all indexes are gone.

It shows me a question on opening that says:

“Model X contains settings for automatic generation of SQL code for indexes to foreign keys. This functionality was replace with automatic creation of indexes than can be added to a model. Do you want to create indexes to foreign keys?”

No matter the aswer, all indexes to FKs are gone.

We have several models made with older versions. Is it a normal behavior? What can we do in order to avoid this?

Thanks,

Best regards,

---

<div class="post-metadata">

**Author:** ![Lukas.Knapek](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/lukas.knapek/32/269_2.png) [@Lukas.Knapek](https://forums.toadworld.com/u/Lukas.Knapek)\
**Post date:** [January 20, 2015, 2:23am UTC](https://forums.toadworld.com/t/indexes-to-fk-lost-when-opening-model-with-5-3-4-13-version-made-with-older-versions/32338/2 "2015-01-20T02:23:38Z")

</div>

Hello Gabriel,

The system of indexes to foreign keys has been changed in 5.3. Please see this post for more information.

Foreign key indexes are no longer shown in **Relationship Properties** , they can be now found under **Entity Properties | Indexes tab** and also in Entities on Workspace itself ( **right-click on Workspace | Workspace Format | Entity tab** and see if **Display Indexes** option is checked).

See if you can find the indexes, they are only created when you choose Yes in the opening dialog.

Regards,

Lukas

---

<div class="post-metadata">

**Author:** ![desarrollo\_687](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/desarrollo_687/32/59_2.png) [@desarrollo\_687](https://forums.toadworld.com/u/desarrollo_687)\
**Post date:** [January 21, 2015, 1:24am UTC](https://forums.toadworld.com/t/indexes-to-fk-lost-when-opening-model-with-5-3-4-13-version-made-with-older-versions/32338/3 "2015-01-21T01:24:37Z")

</div>

Thanks Lukas!
