How can we help you today? How can we help you today?
jschwarz_continuus

Activity overview

Latest activity by jschwarz_continuus

Hey @Alex B, and @AlexYates.  Now that I have an answer on the commit question, and I'm running this cli to try and create new files in my repository, but the new files are not being created.  For instance I create a new view in the db, I compare the db to the git repo files with a /sync.  I am expecting a new .sql file to be created in the repo directory for views but it is not.  I get a report that correctly identifies it as new, but no .sql file in my repo directory.  Is there a switch in the cli in addtion to sync that I need to use in order to get those files created? In this case I have a table that already exists and is being update, and 3 new objects, My Cli is... "D:\RedGate\SQL Compare 13\sqlcompare.exe" /server1:ASERVER1 /database1:ADB_DEV /sourcecontrol2 /revision2:HEAD /ScriptsFolderXML:D:\DatabaseRepositories\ADB-DEV_SourceLib.xml /Synchronize /force /Report:d:\temp\ADB-DEMO_CommitReport.html /ReportType:Classic  /Include:table:\[dbo\].\[DeployVersionControlTest\]  /Include:view:\[dbo\].\[DeployVersionControlTestView\]  /Include:function:\[dbo\].\[DeployVersionControlTestFunc\]  /Include:storedprocedure:\[dbo\].\[DeployVersionControlTestProc\] /LogLevel:Verbose I get exactly the comparison results that I expect, and the html report is perfect, but no files are getting updated or created in the git repo.  Can anyone spot what I'm missing here to get the files created in the fit repo directory? / comments
Hey @Alex B, and @AlexYates.  Now that I have an answer on the commit question, and I'm running this cli to try and create new files in my repository, but the new files are not being created.  For ...
0 votes
If I /sync a table from a db to a git repo, is that essentially a "commit" to the repo?
And if so, can I add a commit comment (like I can in the source control gui) when executing the /sync from the cli?
3 followers 13 comments 0 votes
I have tried the cli using a straight db to db compare, and it completes successfully...  SQLCompare.exe /server1:SERVERNAME1 /database1:DBNAME_DEV /server2:SERVERNAME2 /database2:DBNAME_TEST /Report:d:\Temp\MarkitDEMO_CompareTest_DbToDb.html /ReportType:Classic /Include:table /Include:table:\[dbo\]\.\[DeployVersionControlTest\] /LogLevel:Verbose /ScriptFile:d:\Temp\MarkitDemo_CompareTest_DbToDb.sql  SQL Compare Command Line V13.7.7.10021  =====================================================================================================================================================================================  Copyright Copyright c Red Gate Software Ltd 2019 SQL Compare: activated, edition professional, serial number:  Registering data sources  Creating mappings  Comparing  Applying Command Line Items  Retrieving migration scripts  Generating report  Checking for identical databases  Creating SQL  Saving SQL Summary Information  ======================================================================================================================================================================================  DB1 = SERVERNAME1.DBNAME_DEV  DB2 = SERVERNAME2.DBNAME_TEST Object type Name DB1 DB2  --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------  Table [dbo].[DeployVersionControlTest] >>  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- / comments
I have tried the cli using a straight db to db compare, and it completes successfully... SQLCompare.exe /server1:SERVERNAME1 /database1:DBNAME_DEV /server2:SERVERNAME2 /database2:DBNAME_TEST /Repor...
0 votes