Closed sunrize closed 3 months ago
Hello @sunrize ,
I was able to replicate the issue under specific conditions. Here’s what I observed:
Scenario: When drawing relationships from table_0 to table_1 and table_2, the foreign keys are missing in the SQL export. Workaround: Drawing relationships from table_1 to table_0 and table_2 to table_0 does not result in missing foreign keys.
Hi @1ilit , I am looking into the issue. You can assign me this one.
@i-m-soumya sorry just saw your comment. I already fixed it.
Workaround: Drawing relationships from table_1 to table_0 and table_2 to table_0 does not result in missing foreign keys.
This wouldn't work because then the foreign keys would be in table_1 and table_2 instead of table_0
Cool 😎
Hello @1ilit, I noticed the same issue with the 'Generic' database export to SQLite. Thank you.
@sunrize fixed, thanks for letting me know
Describe the bug The SQL export results for the SQLite database only show one foreign key, while other foreign keys are missing.
To Reproduce Steps to reproduce the behavior:
CREATE TABLE IF NOT EXISTS "table_1" ( "id" INTEGER NOT NULL UNIQUE, PRIMARY KEY("id")
);
CREATE TABLE IF NOT EXISTS "table_2" ( "id" INTEGER NOT NULL UNIQUE, PRIMARY KEY("id")
);
Screenshots Example
Desktop (please complete the following information):
Additional context None