mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-01-20 12:01:47 -05:00
846 B
846 B
layout, title, parent, grand_parent, nav_order
| layout | title | parent | grand_parent | nav_order |
|---|---|---|---|---|
| default | Upgrade the AliasClientDb EF model | Development | Miscellaneous | 3 |
Upgrade the AliasClientDb EF model
To upgrade the AliasClientDb EF model, follow these steps:
- Make changes to the AliasClientDb EF model in the
AliasClientDbproject. - Create a new migration by running the following command in the
AliasClientDbproject:
# Important: make sure the migration name is prefixed by the Semver version number of the release.
# For example, if the release version is 1.0.0, the migration name should be `1.0.0-<migration-name>`.
dotnet ef migrations add "1.0.0-<migration-name>"
- On the next login of a user, they will be prompted (required) to upgrade their database schema to the latest version. Make sure to manually test that the migration works as expected.