Options

Bug? Command-Line and Migration Scripts

CowboyDbaCowboyDba Posts: 2
edited June 12, 2014 10:15AM in SQL Compare Previous Versions
Using sqlCompare command line and have a migration script folder.

Unfortunately I kep geting the following error:


Error: A duplicate definition was found for the table [dbo].[People]. Ensure
that case sensitivity options are set correctly and all object creation scripts
are valid. If the problem persists, contact our support.


Command being run
SQLCompare.exe /include="Identical" /include="StaticData" /scripts1="." /server2="PC1" /database2="RedGateAppCI" /synchronize /migrationsfolder=".\Migrations" /scriptsfolderxml=".\ScriptFolderLocation.xml" /scriptFile:"C:\Outfile.sql" /verbose 


I'm assuming i may be the case that there is a script called dbo.People in the Tables folder but also a script in the Migrations folder which creates the dbo.People table.

However the GUI appeas to pick this up and deal with it as expected. :?
Sign In or Register to comment.