if not exists(select * from sys.indexes where name = 'CI_ConnectionWiki_Connection' AND object_id = object_id('dbo.ConnectionWiki'))
    create clustered index CI_ConnectionWiki_Connection ON dbo.ConnectionWiki (ConnectionID)