if exists (select * FROM sys.sysobjects where id = object_id(N'dbo.DF_ConnectionWikiHistory_EventProcessed')) and not exists (select * FROM sys.sysobjects where id = object_id(N'dbo.DF_ConnectionHandbookHistory_EventProcessed'))
	exec sp_rename N'DF_ConnectionWikiHistory_EventProcessed', N'DF_ConnectionHandbookHistory_EventProcessed';