Migrate DbHelperBase.getExtendsForeignKeyName to DbHelper for issue #133