The Senate has approved a pay raise for lawmakers after tabling bills that would have provided larger pay increases for teachers.