mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
* src/odbc/mysql.sql: Fix complain about comment syntax
* src/odbc/pg.sql: Likewise SVN Revision: 1850
This commit is contained in:
parent
d1cf37bbec
commit
35926b96b4
@ -1,3 +1,8 @@
|
|||||||
|
2009-01-23 Badlop <badlop@process-one.net>
|
||||||
|
|
||||||
|
* src/odbc/mysql.sql: Fix complain about comment syntax
|
||||||
|
* src/odbc/pg.sql: Likewise
|
||||||
|
|
||||||
2009-01-22 Pablo Polvorin <pablo.polvorin@process-one.net>
|
2009-01-22 Pablo Polvorin <pablo.polvorin@process-one.net>
|
||||||
|
|
||||||
* src/ejabberd_sm.erl: Fix typo (node -> lnode).
|
* src/ejabberd_sm.erl: Fix typo (node -> lnode).
|
||||||
|
@ -148,7 +148,7 @@ CREATE TABLE private_storage (
|
|||||||
CREATE INDEX i_private_storage_username USING BTREE ON private_storage(username);
|
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));
|
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;
|
-- ALTER TABLE rosterusers ADD COLUMN askmessage text AFTER ask;
|
||||||
-- UPDATE rosterusers SET askmessage = '';
|
-- UPDATE rosterusers SET askmessage = '';
|
||||||
-- ALTER TABLE rosterusers ALTER COLUMN askmessage SET NOT NULL;
|
-- ALTER TABLE rosterusers ALTER COLUMN askmessage SET NOT NULL;
|
||||||
|
@ -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);
|
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;
|
-- CREATE SEQUENCE spool_seq_seq;
|
||||||
-- ALTER TABLE spool ADD COLUMN seq integer;
|
-- ALTER TABLE spool ADD COLUMN seq integer;
|
||||||
-- ALTER TABLE spool ALTER COLUMN seq SET DEFAULT nextval('spool_seq_seq');
|
-- ALTER TABLE spool ALTER COLUMN seq SET DEFAULT nextval('spool_seq_seq');
|
||||||
-- UPDATE spool SET seq = DEFAULT;
|
-- UPDATE spool SET seq = DEFAULT;
|
||||||
-- ALTER TABLE spool ALTER COLUMN seq SET NOT NULL;
|
-- 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;
|
-- ALTER TABLE rosterusers ADD COLUMN askmessage text;
|
||||||
-- UPDATE rosterusers SET askmessage = '';
|
-- UPDATE rosterusers SET askmessage = '';
|
||||||
-- ALTER TABLE rosterusers ALTER COLUMN askmessage SET NOT NULL;
|
-- ALTER TABLE rosterusers ALTER COLUMN askmessage SET NOT NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user