Revert "appointments sync with db"

This reverts commit bfdba3e6a5dc319342ca85edf59e76678a346616.