Hacker News new | past | comments | ask | show | jobs | submit login

Where I work we have a big directory with one file for each stored procedure.

On deploy, all the stored procedures will get updated from that directory. Rolling back would consist of deploying an earlier version of the repository with the procedures in it.




Years ago I wrote some custom scripts to do exactly this. Deploy consisted of having all of the sprocs migrate. At the time I also encrypted all of the sprocs because some admins had a hard time not making changes to live system instead of in source control.




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

Search: