used unsigned integer for note_id and user_id

change type of user_id to be the same than in users table