Can I ignore RedGateDatabaseInfo.xml in source control?

Forum for users of SQL Compare schema synchronization utility

Can I ignore RedGateDatabaseInfo.xml in source control?

Postby Christian Specht » Fri Mar 15, 2013 9:07 am

I don't need this file and I don't mind it being there, but it clutters up our source control history.
Nearly every time we change something in the database, there are changes like this in RedGateDatabaseInfo.xml:

<None />


Or from:

<DatabaseInformation Version="2">

So: do we even need to commit this file at all? I would prefer to delete it from the repository and ignore it in the future.

Thank you!
Christian Specht
Posts: 1
Joined: Fri Mar 15, 2013 8:44 am

Postby Brian Donahue » Mon Mar 18, 2013 3:51 pm

I don't think it would be a good idea to try to remove this file. In addition to storing any information about static table data you've linked, it states the format of the subdirectories where scripts for types of SQL objects are kept, database collations, versioning, and other things that would affect how the comparisons between live databases and source controlled scripts are done.

At any rate I believe if you tried to delete it, SQL Source Control would re-create it on the next get latest/commit changes. It's part of the metadata needed so SQL Source Control and SQL Compare can function correctly.

I don't think there will be many more changes in the information in this file, so hopefully you won't notice it very much in the future.
Brian Donahue
Posts: 6590
Joined: Mon Aug 23, 2004 9:48 am

Return to SQL Compare Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests