Update migration for create_ratings_table to allow 'ratings.previous_id' to be NULL.