if not exists(select * from sys.indexes where name = 'CI_ConnectionWikiHistory_ConnectionID' AND object_id = object_id('dbo.ConnectionWikiHistory'))
	create clustered index CI_ConnectionWikiHistory_ConnectionID on dbo.ConnectionWikiHistory (ConnectionID);