Fix appointment table specification
Appointment model refactor