Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
We currently support multiple many-to-many between the same tables, but the the frontend does not properly support it. This PR is updating the "define relationship" modal to support this config, moving the error message to a clearer field.
Also, adding an extra check to make sure that the same column is not used as both foreign keys on a join table, and fixing the initial type load on existing relationships.
Description
We currently support multiple many-to-many between the same tables, but the the frontend does not properly support it. This PR is updating the "define relationship" modal to support this config, moving the error message to a clearer field. Also, adding an extra check to make sure that the same column is not used as both foreign keys on a join table, and fixing the initial type load on existing relationships.
Addresses
Screenshots
Current settings
Can add new relationships between people -> tasks
Cannot reuse the same through and foreign keys (whatever the order)
Cannot set both foreign keys to the same column
Launchcontrol
Support configuring multiple many-to-many between the same tables