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;