Fixing appointments migration and updating the schema