-
Currently, I need to relate my users with different schedules. To achieve this, I am creating schedules in another database and relating them with IDs. However, when I need to retrieve the data, I have to perform a select query on two different databases.
Therefore, I would like to know if it's possible to create new tables and establish relationships in the FusionAuth database to simplify data retrieval and increase performance.
-
Welcome to the FusionAuth community!
It isn't possible to create new tables inside FusionAuth. However, you have a few options within the current supported extension points.
- You can correlate between two different databases, as you currently are.
- You can use the
user.dataanduser.registration.datafields. These are arbitrary JSON objects and you can define your own schema inside them. They are searchable. - You can use Entity Management. Entity Management lets you define your own entities (which also have
datafields) and relationships between users and entities. This is paid functionality that requires a license key.
Hope that helps.
Dan -
H heitordanilo2003 has marked this topic as solved on
-
D dan moved this topic from Q&A on
-
D dan moved this topic from Frequently Asked Questions (FAQ) on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login