Skip to content
dlmelendez edited this page Oct 12, 2014 · 3 revisions

MigrateIdentityData.exe

Use this utility if you have created data with version v.0.9.0-beta to migrate or preview the non-user documents merged into the user subdocuments to be used in the current schema of the ElCamino.AspNet.Identity.DocumentDB provider. Make sure the MigrateIdentityData.exe.config has the correct DocumentDB connection information.

noargs, /help or /? - shows this message.

e.g. MigrateIdentityData.exe /?

/preview - no data is modified. Shows how many user documents will be affected.

e.g. MigrateIdentityData.exe /preview

/migrate - migrates documents to the current schema. By default, will delete the old documents unless /nodelete is specified.

e.g. MigrateIdentityData.exe /migrate

/nodelete - must be used with /migrate. Will not delete non-user documents after they are merged into the user document.

e.g. MigrateIdentityData.exe /migrate /nodelete

Clone this wiki locally