From 35926b96b44914c3ab4c115a3213cec8d76fd7f1 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 23 Jan 2009 00:10:00 +0000 Subject: [PATCH] * src/odbc/mysql.sql: Fix complain about comment syntax * src/odbc/pg.sql: Likewise SVN Revision: 1850 --- ChangeLog | 5 +++++ src/odbc/mysql.sql | 2 +- src/odbc/pg.sql | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index dbeab220d..84da75bbf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-01-23 Badlop + + * src/odbc/mysql.sql: Fix complain about comment syntax + * src/odbc/pg.sql: Likewise + 2009-01-22 Pablo Polvorin * src/ejabberd_sm.erl: Fix typo (node -> lnode). diff --git a/src/odbc/mysql.sql b/src/odbc/mysql.sql index cdc20062c..e975b9231 100644 --- a/src/odbc/mysql.sql +++ b/src/odbc/mysql.sql @@ -148,7 +148,7 @@ CREATE TABLE private_storage ( CREATE INDEX i_private_storage_username USING BTREE ON private_storage(username); CREATE UNIQUE INDEX i_private_storage_username_namespace USING BTREE ON private_storage(username(75), namespace(75)); ---- To update from 1.x: +-- To update from 1.x: -- ALTER TABLE rosterusers ADD COLUMN askmessage text AFTER ask; -- UPDATE rosterusers SET askmessage = ''; -- ALTER TABLE rosterusers ALTER COLUMN askmessage SET NOT NULL; diff --git a/src/odbc/pg.sql b/src/odbc/pg.sql index 1cb9eeb4d..3cf3a0949 100644 --- a/src/odbc/pg.sql +++ b/src/odbc/pg.sql @@ -146,14 +146,14 @@ CREATE INDEX i_private_storage_username ON private_storage USING btree (username CREATE UNIQUE INDEX i_private_storage_username_namespace ON private_storage USING btree (username, namespace); ---- To update from 0.9.8: +-- To update from 0.9.8: -- CREATE SEQUENCE spool_seq_seq; -- ALTER TABLE spool ADD COLUMN seq integer; -- ALTER TABLE spool ALTER COLUMN seq SET DEFAULT nextval('spool_seq_seq'); -- UPDATE spool SET seq = DEFAULT; -- ALTER TABLE spool ALTER COLUMN seq SET NOT NULL; ---- To update from 1.x: +-- To update from 1.x: -- ALTER TABLE rosterusers ADD COLUMN askmessage text; -- UPDATE rosterusers SET askmessage = ''; -- ALTER TABLE rosterusers ALTER COLUMN askmessage SET NOT NULL;