aboutsummaryrefslogtreecommitdiff
path: root/src/odbc/mysql.sql
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2012-04-02 14:49:13 +1000
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2012-04-02 14:49:13 +1000
commitb43444f674e577a21bac889b732c4752530036e5 (patch)
tree21d5b57b0f433270e44ec8491b6e3edd4ed53a45 /src/odbc/mysql.sql
parentAdd ODBC exporting function for privacy table (diff)
ODBC support for mod_announce
Diffstat (limited to 'src/odbc/mysql.sql')
-rw-r--r--src/odbc/mysql.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/odbc/mysql.sql b/src/odbc/mysql.sql
index d67ca6c88..104b44481 100644
--- a/src/odbc/mysql.sql
+++ b/src/odbc/mysql.sql
@@ -238,3 +238,9 @@ CREATE TABLE muc_registered (
CREATE INDEX i_muc_registered_nick USING BTREE ON muc_registered(nick(75));
CREATE UNIQUE INDEX i_muc_registered_jid_host USING BTREE ON muc_registered(jid(75), host(75));
+
+CREATE TABLE motd (
+ username varchar(250) PRIMARY KEY,
+ xml text,
+ created_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
+) CHARACTER SET utf8;