开发者

if a database object is source controlled is it necessary to also note changes in the tombstone?

开发者 https://www.devze.com 2022-12-21 06:53 出处:网络
If I have a procedure definition that has been stored in source control, is it necessary or helpful to keep the \'tombstone\' up to date as well?

If I have a procedure definition that has been stored in source control, is it necessary or helpful to keep the 'tombstone' up to date as well?

Here's what I mean by a 'tombstone':

CREATE proc [dbo].[getCreditTransactions]      
AS   
/*
2001-02-12 jdoe开发者_开发知识库 : created proc
2003-04-15 kdoe : added handling for credit business rules 
*/
etc... 


To not update the tombstone, would assume that people are entering pertinent information when checking the update into source control. This was a big problem at my last job - it was company policy but there was no means of implementing business rules to enforce the behavior.

A benefit of having the tombstone updated would be:

  • to see history without needing access to source control
  • if source control software was changed - the history wouldn't be lost.
0

精彩评论

暂无评论...
验证码 换一张
取 消