Hacker News new | ask | show | jobs
by djrobstep 3473 days ago
I just tried to commit a stored procedure to git and it seemed to work.

I then asked a colleague to review it. This also worked.

1 comments

Ok. I did not know that. As I said this is what I have gathered from what I have read around as a common complaint. Out of curiosity, what is the testing-deployment cycle of stored procedures in source control? How do you assure yourself that the database uses a procedure coming from a specific commit?
How do you assure yourself that your non-database code uses code coming from a specific commit?

In general, you have a deployment procedure that overwrites all the old code with all-new code, and from there on out you trust, right? Why not use the same approach?