Comments
1 comment
-
SQL Source Control is restricting you from creating a database based on scripts because, as it points out, it's impossible for it to work out the order in which the objects should be created.
I think you *may* be able to get around it if you can work out the object names that are involved in this conflict, create them yourself in the database, and then link the database to source control and do the get latest. SQL Source Control will calculate the differences and apply them - if the objects already exist, Source Control should not check them again.
Add comment
Please sign in to leave a comment.
This has been functioning very well for around 6 months, but now all of a sudden, I'm getting the following error from Source Control, when trying to run the Get Latest operation :
Script folder contains circular object references. Such databases cannot be created. Please ensure the source scripts define a consistent database schema
Please advise, as dependent as I have become on the Source Control, this is a big problem.