Automatically generate an index for the generated columns for inherited objects.