diff options
author | thomascube <thomas@roundcube.net> | 2011-02-25 16:37:22 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-02-25 16:37:22 +0000 |
commit | e6bb836e053913ec8a5930a6d51af1fa55eb08e2 (patch) | |
tree | 92fe8cdb0529d8543d488b3164202e2d7833c0f6 /SQL | |
parent | b8f14ce7442c3a7e1a9e081b88c3108405c7a86e (diff) |
Create interactive update script with improved DB schema check; udated installer with new features and styles
Diffstat (limited to 'SQL')
-rw-r--r-- | SQL/mssql.upgrade.sql | 2 | ||||
-rw-r--r-- | SQL/mysql.update.sql | 2 | ||||
-rw-r--r-- | SQL/postgres.update.sql | 2 | ||||
-rw-r--r-- | SQL/sqlite.update.sql | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/SQL/mssql.upgrade.sql b/SQL/mssql.upgrade.sql index 8534afdd3..eacfcf11d 100644 --- a/SQL/mssql.upgrade.sql +++ b/SQL/mssql.upgrade.sql @@ -97,7 +97,7 @@ GO ALTER TABLE [dbo].[contacts] ALTER COLUMN [email] [varchar] (255) COLLATE Latin1_General_CI_AI NOT NULL
GO
--- Updates from version 0.5.x
+-- Updates from version 0.5.1
ALTER TABLE [dbo].[contacts] ADD [words] [text] COLLATE Latin1_General_CI_AI NULL
GO
diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql index d30f037c6..4cb087edd 100644 --- a/SQL/mysql.update.sql +++ b/SQL/mysql.update.sql @@ -133,7 +133,7 @@ ALTER TABLE `contacts` MODIFY `email` varchar(255) NOT NULL; TRUNCATE TABLE `messages`; --- Updates from version 0.5.* +-- Updates from version 0.5.1 ALTER TABLE `contacts` ADD `words` TEXT NULL AFTER `vcard`; ALTER TABLE `contactgroupmembers` ADD INDEX `contactgroupmembers_contact_index` (`contact_id`); diff --git a/SQL/postgres.update.sql b/SQL/postgres.update.sql index e3eb581f9..91c32f8ec 100644 --- a/SQL/postgres.update.sql +++ b/SQL/postgres.update.sql @@ -90,7 +90,7 @@ ALTER TABLE contacts ALTER email TYPE varchar(255); TRUNCATE messages; --- Updates from version 0.5.x +-- Updates from version 0.5.1 ALTER TABLE contacts ADD words TEXT NULL; CREATE INDEX contactgroupmembers_contact_id_idx ON contactgroupmembers (contact_id); diff --git a/SQL/sqlite.update.sql b/SQL/sqlite.update.sql index 7b5464c64..d8a657a98 100644 --- a/SQL/sqlite.update.sql +++ b/SQL/sqlite.update.sql @@ -183,7 +183,7 @@ DROP TABLE contacts_tmp; DELETE FROM messages; --- Updates from version 0.5.x +-- Updates from version 0.5.1 CREATE TABLE contacts_tmp ( contact_id integer NOT NULL PRIMARY KEY, |