Skip to content

Commit 68951b8

Browse files
committed
Linting
1 parent 37eaf34 commit 68951b8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

16/umbraco-cms/fundamentals/setup/upgrading/downgrades-and-rerunning-migrations.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ There isn't an equivalent downward migration that will undo these changes.
1616

1717
Given that, it can't be guaranteed that a database from a later version will work with an earlier one.
1818

19-
For most cases therefore, if you wish to downgrade to an earlier version of Umbraco, it's best to also revert to a database backup from the version you are downgrading to.
19+
If you wish to downgrade to an earlier version of Umbraco, it's best to also revert to a compatible database backup. You will need one from the version you are downgrading to.
2020

2121
## Particular downgrades are possible and safe
2222

@@ -32,7 +32,7 @@ Downgrading the Umbraco application itself is straightforward. In the same way a
3232

3333
`dotnet add package Umbraco.Cms --version <VERSION>`
3434

35-
If you try to start Umbraco now though, it's quite likely you will find an exception thrown on boot indicating a problem with the migration state. This is because the version of Umbraco you are running now doesn't understand the state that has been stored in the database by the higher version you were running previously.
35+
If you try to start Umbraco, it's quite likely you will find an exception thrown on boot indicating a problem with the migration state. This is because the version of Umbraco you are running now doesn't recognize the state stored by the higher version you were running previously.
3636

3737
To resolve this, you need to query the Umbraco database.
3838

@@ -65,13 +65,13 @@ Then restart Umbraco.
6565

6666
A related topic is if you want to re-run the migrations from a prior version to the version you are on.
6767

68-
This isn't something that should be needed in normal usage of Umbraco. Umbraco handles running the necessary migrations on start-up and keeps track of it's state. However, if you are ever investigating an upgrade related issue, or testing an upgrade before running in production, it's useful to know how to do this.
68+
This isn't something that should be needed in normal usage of Umbraco. Umbraco handles running the necessary migrations on start-up and keeps track of it's state. However, if investigating an upgrade related issue, or testing an upgrade before running in production, it's useful to know how to do this.
6969

7070
Again you need to manipulate the migration state stored in the database.
7171

72-
You can update these values to an earlier state, and on start-up Umbraco will recognize that it's not at the latest and will re-run the migrations from the earlier state to the current one.
72+
You can update these values to an earlier state, and on start-up Umbraco will recognize that it's not at the latest. It will re-run the migrations from the earlier state to the current one.
7373

74-
For example if you were running 16.2, and wanted to re-run the core migrations for 15 and 16, you would set the core migration state to the latest one from 14, via:
74+
For example, let's say you are running 16.2, and want to re-run the core migrations for 15 and 16. Here you would set the core migration state to the latest one from 14, via:
7575

7676
```sql
7777
update umbracoKeyValue

0 commit comments

Comments
 (0)