[Answer]-Malformed models – but I dont see how

1👍

You may have to rebuild the database. When you import new data, make sure that you run foreign_key_check=0; before the query.

I ran into this issue several times when I mistakenly tried importing data into an emptied database.

👤Craig

Leave a comment