paint-brush
Deleting a Column from a Django Model on Productionby@shv
4,901 reads
4,901 reads

Deleting a Column from a Django Model on Production

by Aleksei Sharypov5mJanuary 23rd, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Depending on the deployment architecture, to delete a column on production, you can use several methods. 1. Performing migrations after deploying the code 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 - Deleting a Column from a Django Model on Production
Aleksei Sharypov HackerNoon profile picture
Aleksei Sharypov

Aleksei Sharypov

@shv

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

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

About Author

Aleksei Sharypov HackerNoon profile picture
Aleksei Sharypov@shv
I’m a Lead Software Developer (Python, Golang, Perl). 15 years of experience in IT.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite