Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Two Fortune 500 companies I worked at had projects in Django that used native SQL to do migrations. This led to errors in prod during deployment.

> The order of the scripts had to run in a proscribed order. They had to be listed on the deployment instructions.

You still need to have a proper database migration system, even if migrations are defined using hand-written SQL. I can see why someone would prefer migrations written in SQL and there are plenty of migration system that support that workflow.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: