WCF icon indicating copy to clipboard operation
WCF copied to clipboard

Recreate the wcf1_like.reactionTypeID foreign key

Open TimWolla opened this issue 3 years ago • 0 comments

It was created with a hardcoded name in:

https://github.com/WoltLab/WCF/blob/fed42e39a8b538669594f61c84ba2fbf17836d5c/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.2_reactionUpdate.php#L101

But the hash contains the table name (i.e. implicitly WCF_N), thus the FK is not correctly named in instances with WCF_N != 1 that were upgraded from 3.1 to 5.2.

TimWolla avatar Sep 29 '22 10:09 TimWolla