Detect disabled indexes
I disable an index on an indexed view and source control doesn't detect the difference, but if I do script object as alter I see the disable line added.
                6
                 votes
              
            
- 
      
Andrej
    
 commented
    
  agree that disabled indexes should be checked into source control in a disabled state.