Skip to content

Commit

Permalink
Update src/content/docs/durable-objects/reference/durable-objects-mig…
Browse files Browse the repository at this point in the history
…rations.mdx

Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
  • Loading branch information
Oxyjun and hyperlint-ai[bot] authored Jan 23, 2025
1 parent 7d999df commit c989609
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ new_classes = ["<NewDurableObjectClass>"] # Array of new classes

Running a delete migration will delete all Durable Objects associated with the deleted class, including all of their stored data.

- Do not run a delete migration on a class without first ensuring that you are not relying on the Durable Objects within that Worker anymore, i.e. first remove the binding from the Worker.
- Do not run a delete migration on a class without first ensuring that you are not relying on the Durable Objects within that Worker anymore, that is, first remove the binding from the Worker.
- Copy any important data to some other location before deleting.
- No need to run a delete migration on a class that was renamed or transferred.

Expand Down

0 comments on commit c989609

Please sign in to comment.