Removing the identity document, changing user document field

Removed identity document, renamed LastConnection field to LastLogin on the user document and added a database migration to change that.
why is this migration step exported?