You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: develop-docs/api-server/application-domains/database-migrations/index.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -337,10 +337,10 @@ operations = [
337
337
```
338
338
339
339
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.
342
342
- 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),`
0 commit comments