-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
c/consoleRelated to consoleRelated to console
Description
Follow up from here: #1167
Hi 👋
I have an issue, after creating my new relationship the UI for data schema crash (JS error) with the message "Something went wrong"
If I remove the relationship directly in the database it works again. I've traced the JS error to this line:
graphql-engine/console/src/components/Services/Data/TableRelationships/autoRelations.js
Line 110 in c3f4c35
| currentArrRels[k].rel_def.foreign_key_constraint_on.column === |
Here is my faulty hdb_relationship row:
| table_schema | table_name | rel_name | rel_type | rel_def | comment | is_system_defined |
|---|---|---|---|---|---|---|
| public | orders | states | array | {"manual_configuration": {"remote_table": "orders_states", "column_mapping": {"id": "resource_id"}}} | NULL | f |
Did I missed something or this is a bug? Thank you.
Metadata
Metadata
Assignees
Labels
c/consoleRelated to consoleRelated to console