Skip to content

Commit 12d27f4

Browse files
wedamijamarkstory
andauthored
Update develop-docs/api-server/application-domains/database-migrations/index.mdx
Co-authored-by: Mark Story <[email protected]>
1 parent 79500cf commit 12d27f4

File tree

1 file changed

+3
-3
lines changed
  • develop-docs/api-server/application-domains/database-migrations

1 file changed

+3
-3
lines changed

develop-docs/api-server/application-domains/database-migrations/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,10 +337,10 @@ operations = [
337337
```
338338

339339
Then we deploy this and we're done. So to recap the steps here:
340-
- Remove all references to the model in the code in a separate PR and merge. Doesn't matter if this deploys before the next step or not.
341-
- Remove any fk constraints and delete the model using SafeDeleteModel(..., deletion_action=DeletionAction.MOVE_TO_PENDING). These operations can be in the same migration to save time.
340+
- Remove all references to the model in the code in a separate pull request and merge. Doesn't matter if this deploys before the next step or not.
341+
- Remove any foreign key constraints and delete the model using `SafeDeleteModel(..., deletion_action=DeletionAction.MOVE_TO_PENDING)`. These operations can be in the same migration to save time.
342342
- Deploy all previous before continuing.
343-
- Remove the table from Postgres using SafeDeleteModel(..., deletion_action=DeletionAction.DELETE),
343+
- Remove the table from Postgres using `SafeDeleteModel(..., deletion_action=DeletionAction.DELETE),`
344344

345345
### Foreign Keys
346346

0 commit comments

Comments
 (0)