Is there a way to unlink all databases from source control? We just updated our AD account user names so now we have a bunch of databases that can't find the workspaces in TFS.
Comments
1 comment
-
Hi @kevin83177
Absolutely, in this case if you navigate to %localappdata% > Red Gate > SQL Source Control 7 > LinkedDatabases.xml
If you delete all the entries from the file within the example block, this will remove all of the databases from being linked<div><LinkedDatabaseList type="LinkedDatabaseList" version="2"></div><div> <value version="7" type="LinkedDatabase"></div><div> <DatabaseId version="2" type="DatabaseId"></div><div> <ServerAndInstanceName>PS-LT-DANC\DC_SQLSERVER2019</ServerAndInstanceName></div><div> <DatabaseName>AdventureWorks2019</DatabaseName></div><div> </DatabaseId></div><div> <ISrcCLocation version="2" type="WorkingFolderGenericLocation"></div><div> <LocalRepositoryFolder>C:\Users\Dan.Calver\Documents\SQL Source Control Repos\AdventureWorks019-WorkingFolder\</LocalRepositoryFolder></div><div> <HooksConfigFile>C:\Users\Dan.Calver\AppData\Local\Red Gate\SQL Source Control 7\ReservedCommandLineHooks\WorkingFolder.xml</HooksConfigFile></div><div> <HooksFileInRepositoryFolder>False</HooksFileInRepositoryFolder></div><div> </ISrcCLocation></div><div> <IWorkspaceId version="1" type="WorkspaceId"></div><div> <RootPath>C:\Users\Dan.Calver\AppData\Local\Red Gate\SQL Source Control 7\WorkingBases\nitnretf.3wk</RootPath></div><div> </IWorkspaceId></div><div> <SharedModel>False</SharedModel></div><div> <ScriptTransientId version="1" type="WorkspaceId"></div><div> <RootPath>C:\Users\Dan.Calver\AppData\Local\Red Gate\SQL Source Control 7\Transients\h1gliyun.5vj</RootPath></div><div> </ScriptTransientId></div><div> </value></div>
Add comment
Please sign in to leave a comment.