Re:Show HN: Databasediagram.com – Private, Text to Entity-Re...
by npack on Thursday June 08, 2023 @05:58PM
(#36249783)
1. Every database has its own flavor of SQL syntax. So we need to settle on a minimal syntax that can export to any database. (BigQuery, Snowflake, MySQL etc..)
2. I tested it out. When i attempt to change CustomerID it does show a error toast in the bottom saying FK reference is invalid. Not sure, why its not showing up for you. Which browser are you using ?
Re:Show HN: Databasediagram.com – Private, Text to Entity-Re...
by Kwpolska on Thursday June 08, 2023 @07:01PM
(#36250472)
I'm using Firefox. On my larger screen, the toast did appear, but it was outside of the scrolled-in view. On my smaller screen, the layout just broke and the toast is not visible.
2. You should really work on error handling. I went to /app and tried changing the name of the CustomerID column, and nothing happened. I tried changing something else and it didn’t work either. It should tell me that the other table is mentioning a non-existent column and the input is invalid.