/* Rollback script for 191204-CS-1.sql */

DECLARE @ConfigurationEnum BigInt = 80516

IF EXISTS (SELECT * FROM tbConfigurationSetting WHERE ConfigurationEnum = @ConfigurationEnum)
BEGIN
DELETE FROM tbConfigurationSettingValue WHERE ConfigurationSettingID = 
	(select ConfigurationSettingID from dbo.tbConfigurationSetting where ConfigurationEnum = @ConfigurationEnum)
		
delete FROM tbConfigurationSetting WHERE ConfigurationEnum = @ConfigurationEnum

DECLARE @ScriptName varchar (250) = '191204-CS-1.sql'
EXEC [dbo].[Rollback_RemoveDeployHistory] @ScriptName
END

GO

