iTwin / itwinjs-core

Monorepo for iTwin.js Library
https://www.itwinjs.org
MIT License
600 stars 210 forks source link

Schema update in iModel #1479

Closed ashish-srivastava-dev closed 3 years ago

ashish-srivastava-dev commented 3 years ago

Is there any available tool or utility, using which we can upgrade domain schema to an iModel? Or Please point me to some sample code which upgrades schema to an iModel?


⚠ Do not edit this section. It is required for imodeljs.github.io ➟ GitHub issue linking

pmconne commented 3 years ago

@scsewall?

scsewall commented 3 years ago

You can use the importSchemas method to import new schemas and upgrade existing schemas. Note that those changes should be committed and pushed separately (not mixed in with actual element data changes).