schema after migrating patients