5.36 upgrade should check if foreign keys exist before adding them
There's a function in Upgrade/Base.php to check for this: checkFKExists. I thought I remembered a generic function for adding stuff but all I see is safeRemoveFK().
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information