summaryrefslogtreecommitdiff
path: root/roundcubemail/SQL/mssql.upgrade.sql
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-06 13:39:45 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-06 13:39:45 +0000
commit865419e2224bfd654af0a943a43febd4523f8dee (patch)
tree1446c11177fde57aaac2b6fae1da6eeb8f97974e /roundcubemail/SQL/mssql.upgrade.sql
parentff4ae725ac0e9cc22013f4854093a93796eb421a (diff)
- Merge devel-spellcheck branch:
- Added spellchecker exceptions dictionary (shared or per-user) - Added possibility to ignore words containing caps, numbers, symbols (spellcheck_ignore_* options) git-svn-id: https://svn.roundcube.net/trunk@5181 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/SQL/mssql.upgrade.sql')
-rw-r--r--roundcubemail/SQL/mssql.upgrade.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/roundcubemail/SQL/mssql.upgrade.sql b/roundcubemail/SQL/mssql.upgrade.sql
index 606db6046..a77362ac4 100644
--- a/roundcubemail/SQL/mssql.upgrade.sql
+++ b/roundcubemail/SQL/mssql.upgrade.sql
@@ -110,3 +110,14 @@ DELETE FROM [dbo].[messages]
GO
DELETE FROM [dbo].[cache]
GO
+
+-- Updates from version 0.6-stable
+
+CREATE TABLE [dbo].[dictionary] (
+ [user_id] [int] ,
+ [language] [varchar] (5) COLLATE Latin1_General_CI_AI NOT NULL ,
+ [data] [text] COLLATE Latin1_General_CI_AI NOT NULL
+) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
+GO
+CREATE UNIQUE INDEX [IX_dictionary_user_language] ON [dbo].[dictionary]([user_id],[language]) ON [PRIMARY]
+GO