Add indexes to views table