summaryrefslogtreecommitdiff
path: root/SQL/mssql.initial.sql
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-06-08 13:22:16 +0200
committerAleksander Machniak <alec@alec.pl>2012-06-08 13:22:16 +0200
commit6237c947583f96df072b535d9b3c6fd7a79e2921 (patch)
tree90f785cae7b47a9825ee1d69b88e0f3e8cc173f2 /SQL/mssql.initial.sql
parent4fd5b62194c37cf296d3f9c8babfb14f897c2d93 (diff)
Fix operator incompat. in some queries on contacts table using MS SQL Server (#1488505)
Diffstat (limited to 'SQL/mssql.initial.sql')
-rw-r--r--SQL/mssql.initial.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/SQL/mssql.initial.sql b/SQL/mssql.initial.sql
index 72c24f126..2ac6aa63e 100644
--- a/SQL/mssql.initial.sql
+++ b/SQL/mssql.initial.sql
@@ -40,7 +40,7 @@ CREATE TABLE [dbo].[contacts] (
[changed] [datetime] NOT NULL ,
[del] [char] (1) COLLATE Latin1_General_CI_AI NOT NULL ,
[name] [varchar] (128) COLLATE Latin1_General_CI_AI NOT NULL ,
- [email] [text] COLLATE Latin1_General_CI_AI NOT NULL ,
+ [email] [varchar] (8000) COLLATE Latin1_General_CI_AI NOT NULL ,
[firstname] [varchar] (128) COLLATE Latin1_General_CI_AI NOT NULL ,
[surname] [varchar] (128) COLLATE Latin1_General_CI_AI NOT NULL ,
[vcard] [text] COLLATE Latin1_General_CI_AI NULL ,