Removing deleted objects from GIT (SQL Compare, SQL Source Control)
jensgc
Posts: 10 Bronze 2
Hi all. I have a development database linked to GIT using SQL Source Control. For some reason I have 20 views in GIT that are not present in the linked development database. I can easily pinpoint the views using SQL Compare - but is there any way I can get the GIT repository updated to reflect the correct/current state of the database?
SQL Compare generates a standard deploy script but I can't run that since SMSS can't connect to GIT.
There are no branches in the GIT repository and the database has not been removed and reconnected to the repository.
SQL Compare generates a standard deploy script but I can't run that since SMSS can't connect to GIT.
There are no branches in the GIT repository and the database has not been removed and reconnected to the repository.
Tagged:
Answers
Aren't you able to commit a DROP for those views in SQL Source Control?
Product Support Engineer
Redgate Software Ltd
Please see our Help Center for detailed guides on how to use our tools