question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot create a table reference using the Table editor

See original GitHub issue

Bug report

Describe the bug

When attempting to create a reference to another table the process fails. For example, I have a table lesson and another table bonus_content and want to reference the id in the lesson table from the bonus_content table it’s currently not possible via the UI. See reproduction stops in the attached GIF.

To Reproduce

supabase_bug

Expected behavior

When a reference is created via the UI, it will be persisted in the DB

System information

  • OS: macOS
  • Browser: Chrome

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
willopezcommented, Dec 3, 2021

@phamhieu Correct, I implemented that using the SQL editor by executing a query, however, this was possible before in the Table editor, and now it’s not, and therefore this bug report. I believe, the other comment on this thread is from a bot. See the video below to see how it used to work, the link icon(denotes a foreign key relation) on the premium_content table is green to indicate the reference is implemented. Currently not able to reproduce creating this kind of reference relationship using the table editor.

https://user-images.githubusercontent.com/486340/144528392-a2aa0a6b-327f-41ef-8b88-ebd64e6be1c4.mp4

0reactions
phamhieucommented, Dec 3, 2021

Thank you for the detailed explanation @willopez.

FYI @joshenlim

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR: "Cannot create reference table" when trying ... - Search
The issue is related to the change of default value for Support Mixed Case Identifier attribute at the connection level.
Read more >
Create and format tables
Learn about the many ways to create a table in an Excel worksheet, and how to clear data, formatting, ... Using structured references...
Read more >
Create Excel Table & Fix Problems
How to create Excel Table to organize data. Fix Excel table problems - doesn't expand, data validation missing. Table references in Excel ...
Read more >
82378: Table editor cannot create foreign key if referenced ...
Description: I am unable to create a foreign key using the table editor for tables containing a JSON type column.
Read more >
How to create a reference table in VS or tabular Editor
In Power Query you have the option to create a reference table. To do so, open PQ editor and right click on the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found