I am running a SQL dump file and im getting this error:
insert or update on table "section_charts" violates foreign key constraint "fklin6rl906fxfxcp9jq9xie98r"
DETAIL: Key (charts_id)=(1) is not present in table "charts".
just to be sure - it means that there's a FK pointing from table section_charts to charts_id =1 on table charts which is missing?
I am running a SQL dump file and im getting this error: insert or upda
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Rajanikant HawaldarRank #110 · 20.2K reputationPosted Sep 18, 2021, 12:41 PM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Sep 18, 2021, 1:37 AM EDT