beyondcode / beyondcode/laravel-masked-db-dump

Foreign keys failure

Open
#4 0 comments 1 reaction 0 assignees View on GitHub
good first issue
Dominant language
PHP
Stars
114
Forks
34
PR merge metrics
No merged PRs in 30d

Description

I had foreign keys:

`CONSTRAINT mailcoach_campaign_clicks_campaign_link_id_foreign FOREIGN KEY (campaign_link_id) REFERENCES mailcoach_campaign_links`

The fix is to insert
`SET FOREIGN_KEY_CHECKS=0;`
at the beginning and
`SET FOREIGN_KEY_CHECKS=1;`
at the end of the SQL file.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.