Sanjay Kumar

Sanjay Kumar

  • NA
  • 135
  • 16.4k

I am running a SQL dump file and im getting this error: insert or upda

Sep 18 2021 4:31 AM

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?


Answers (2)