add columns to user_courses table

add purchase and complete columns to user_courses table and edit data
type of points columns in rating table to tinyint