Skip to content

Commit

Permalink
Update doc/md/canister-maintenance/compatibility.md
Browse files Browse the repository at this point in the history
Co-authored-by: Gabor Greif <[email protected]>
  • Loading branch information
crusso and ggreif authored Feb 1, 2025
1 parent e35eeda commit 4ddacb8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/md/canister-maintenance/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,7 @@ new actor.
* All other stable variables of the actor, i.e. those neither consumed nor
produced by the migration function are initialized in the usual way,
either by transfer from the upgraded actor, if declared in that actor, or, if newly declared,
by running the initialization expression in the field's
declaration.
by running the initialization expression in the field's declaration.
* The migration function is only executed on an upgrade and ignored on a fresh installation of the actor in an empty canister.
The migration function, when required, is declared within square brackets following the `actor` keyword in an actor or actor class
Expand Down

0 comments on commit 4ddacb8

Please sign in to comment.