We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When the ONLY keyword is present in ALTER TABLE statements (generated by pg_dump) the foreign key relationships fail to import.
My workaround for the minute is to simply delete all occurrences of the ONLY keyword, so should be fine to add the same step in parser.
Obvious fix once you know but subtle enough to put a lot of people off from using the tool.
To Reproduce Steps to reproduce the behavior:
CREATE TABLE foo ( a int, ) CREATE TABLE bar ( b int, ) ALTER TABLE ONLY foo ADD CONSTRAINT foo_bar_fkey FOREIGN KEY (a) REFERENCES bar(b) ALTER TABLE ONLY bar ADD CONSTRAINT bar_foo_fkey FOREIGN KEY (b) REFERENCES foo(a)
Expected behavior Relationships to be present.
Screenshots
Browser (please complete the following information):
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When the ONLY keyword is present in ALTER TABLE statements (generated by pg_dump) the foreign key relationships fail to import.
My workaround for the minute is to simply delete all occurrences of the ONLY keyword, so should be fine to add the same step in parser.
Obvious fix once you know but subtle enough to put a lot of people off from using the tool.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Relationships to be present.
Screenshots
Browser (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: