How to Delete a Table from a Django Model on Productionby@shv
1,397 reads

How to Delete a Table from a Django Model on Production

January 30th 2023
5m
by @shv 1,397 reads
tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

The process of removing a table is similar to the one of removing a column, and it consists of the same steps that depend on CD features in each case: 1. Performing post-deployment migrations to all pods in one deployment. 2. Performing migrations with the second deployment immediately after the first one in which the code was deployed. 3. Performing migrations with a separate deployment after deploying the code, but with a possible delay and even other deployments.
featured image - How to Delete a Table from a Django Model on Production
Aleksei Sharypov HackerNoon profile picture

@shv

Aleksei Sharypov

I’m a Lead Software Developer (Python, Golang, Perl). 15 years of experience in IT.


Receive Stories from @shv

react to story with heart
Aleksei Sharypov HackerNoon profile picture
by Aleksei Sharypov @shv.I’m a Lead Software Developer (Python, Golang, Perl). 15 years of experience in IT.
Read my stories

RELATED STORIES

L O A D I N G
. . . comments & more!