From 03eb13f11cf7dd695be3aab95b4e39e510169a49 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sun, 17 Jul 2011 15:01:28 -0400 Subject: [PATCH] Small improvements and codestyle --- SQL/mssql.initial.sql | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/SQL/mssql.initial.sql b/SQL/mssql.initial.sql index 4e31c07..4aa6fc9 100644 --- a/SQL/mssql.initial.sql +++ b/SQL/mssql.initial.sql @@ -195,6 +195,8 @@ CONSTRAINT [DF_contactgroupmembers_created] DEFAULT (getdate()) FOR [created] GO +CREATE INDEX [IX_contactgroupmembers_contact_id] ON [dbo].[contactgroupmembers]([contact_id]) ON [PRIMARY] +GO ALTER TABLE [dbo].[identities] ADD CONSTRAINT [DF_identities_user] DEFAULT ('0') FOR [user_id], -- Gitblit v1.9.1