create appointment table