Skip to content

MySQL Table Relationships #10577

Answered by melohagan
timmehrees asked this question in Help
May 14, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Thanks @timmehrees

So the only thing that changed was the label. The previous labels were One and Many. These were updated to One to Many and Many to Many to be more explicit about the type of relationship being defined, but the functionality is the same.

There is no specific One->One option. For that case you can use One->Many.

The From table column field specifies the column name of the relationship field within Budibase. This name must be unique. You are getting the error because you are trying to give it the same name as the foreign key.

For example:

The fk_owner field exists on the Postgres table. The Owners field is a relationship field that only exists within Budibase.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@timmehrees
Comment options

@melohagan
Comment options

Answer selected by melohagan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
bb-relationships Relating to table relationships
2 participants