From f63ff72a458957595df2625596875c60924d681f Mon Sep 17 00:00:00 2001 From: Marco Miltenburg Date: Fri, 5 Sep 2014 12:17:27 +0200 Subject: [PATCH] Index IX_contactgroups_user_id was created on the wrong table. --- SQL/mssql.initial.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQL/mssql.initial.sql b/SQL/mssql.initial.sql index a6132b15c..b45db10b4 100644 --- a/SQL/mssql.initial.sql +++ b/SQL/mssql.initial.sql @@ -280,7 +280,7 @@ ALTER TABLE [dbo].[contactgroups] ADD CONSTRAINT [CK_contactgroups_del] CHECK ([del] = '1' or [del] = '0') GO -CREATE INDEX [IX_contactgroups_user_id] ON [dbo].[contacts]([user_id]) ON [PRIMARY] +CREATE INDEX [IX_contactgroups_user_id] ON [dbo].[contactgroups]([user_id]) ON [PRIMARY] GO ALTER TABLE [dbo].[contactgroupmembers] ADD