I’m trying to write MySQL queries for my custom PrestaShop module. I encountered an issue while adding foreign keys and have no idea what might be wrong. I double checked column types and their existance. Here’s the error: Cannot add foreign key constraint And here is all the code I’m trying to run during installation The queries execute perfectly without