I'm uploading a site to a new environment and getting the following error:

error message

The assetfiles table structure: The assetfiles table structure

1 Answer 1


Based on that description, my guess is you're running into #2 here (https://stackoverflow.com/a/16969176/684) and you've got some inconsistent data in one of the three foreign key constraints that the SQL is trying to add.

  • Ok, how might I go about sorting that out? I uploaded the same DB to another host and it was fine.
    – sarah3585
    Commented May 4, 2017 at 8:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.