schemadiff: fix index/foreign-key apply scenario
#16698
Merged
schemadiff: fix index/foreign-key apply scenario
#16698