WL-2819 Autocreate indexes on site ID and hash.

This is because hibernate doesn't do index autocreation.