isInternalForeignKeyIndex

Tries to determine whether the index is the internal database-generated index
for the given foreign key.
Note that only non-unique indices with the correct columns are fed to this method.
Redefine this method for specific platforms if there are better ways
to determine internal indices.

isInternalPrimaryKeyIndex

Tries to determine whether the index is the internal database-generated index
for the given table's primary key.
Note that only unique indices with the correct columns are fed to this method.
Redefine this method for specific platforms if there are better ways
to determine internal indices.