decoding-1005-on-mysql
As suggested this was my problem:
The most common variation that I’ve run into is where the primary key column uses aTalk about saving your day!int unsigned
data type and the foreign key column uses anint
data type. It’s quite nice that the InnoDB Engine stops this cold. Naturally, you fix it by changing the foreign key data type to match theint unsigned
data type.
No comments:
Post a Comment