Skip to content
New issue

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

Missing foreign key entry in dev.toxicology.molecule table #158

Open
christhompsongoogle opened this issue Aug 3, 2024 · 0 comments
Open

Comments

@christhompsongoogle
Copy link

christhompsongoogle commented Aug 3, 2024

The following statement fails with the error below:

INSERT INTO "atom" ("id","molecule_id","element") VALUES ('TR005_1','TR005','c');

Details: pq: insert or update on table "atom" violates foreign key constraint "atom_molecule_id_fkey"

The molecule_id TR005 doesn't exist in the molecule table AFAICT.

I'm wondering if anyone's encountered this - what they did to resolve it and if we could work together on cleaning up the data if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant