Skip to content

Commit

Permalink
TASK: Added migration
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandschuetz committed Feb 13, 2023
1 parent 5755410 commit 64fd7d4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
19 changes: 19 additions & 0 deletions Migrations/ContentRepository/Version20230213183100.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
up:
comments: 'Migrate CodeQ.JumpMarkers property jumpMarkerTitle to jumpMarkerTitle'
migration:
-
filters:
-
type: 'NodeType'
settings:
nodeType: 'CodeQ.JumpMarkers:Mixin.SectionConfiguration'
withSubTypes: true
transformations:
-
type: 'RenameProperty'
settings:
from: 'hashMenuTitle'
to: 'jumpMarkerTitle'

down:
comments: 'No down migration available'
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ A migration is available: `./flow node:migrate --version 20230210175800`

The property names have changed and some fallbacks were removed, so an automatic migration is not applied.
`CodeQ.JumpMarkers:Mixin.SectionConfiguration.DefaultDisabled` was removed,
`includeInHashMenu` was removed, `hashMenuTitle` was renamed to `jumpMarkerTitle`.
`includeInHashMenu` was removed.
`hashMenuTitle` was renamed to `jumpMarkerTitle`, a migration for this is available: `./flow node:migrate --version 20230213183100`

## Credits

Expand Down

0 comments on commit 64fd7d4

Please sign in to comment.