Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docusaurus/docs/cms/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ tags:
- default ID name
- SSL
- typescript
- database
- foreign keys

---

Expand Down Expand Up @@ -95,6 +97,14 @@ There is currently no ETA on this migration however.

No, currently does not have the ability to allow for changing the default id name nor does it allow you to switch the data type (such as UUID in PostgreSQL), support for this is being looked at in future.

## Can I disable foreign key creation?

Strapi relies on foreign keys to maintain relational integrity between content types. There is currently no supported configuration option to disable foreign key generation.

If your database environment restricts foreign keys (for example, PlanetScale or similar distributed databases that do not support foreign keys), this is a known limitation. See the <ExternalLink to="https://github.com/strapi/strapi/issues/11775" text="related discussion"/> on the Strapi repository for context and workarounds shared by the community.

For environments that require foreign key-free schemas, consider using Strapi with a database that fully supports foreign keys (PostgreSQL, MySQL, MariaDB, or SQLite).

## Can you filter and/or deep filter on dynamic zones and polymorphic relations?

At this time we do not plan to allow for filtering on dynamic zones or polymorphic relations due to various complexity and performance issues that come from doing so.
Expand Down
Loading