check conflict when create appointments
config
lock
schema
merge
merge
 merge
a
a
a
 a
 a
 a
move appointments to residence