aboutsummaryrefslogtreecommitdiff
path: root/sql/mysql.sql
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2015-02-17 23:26:31 +0300
committerAlexey Shchepin <alexey@process-one.net>2015-03-20 13:45:24 +0300
commite575c87ea2cf56f5bdc604a271cd259387bc927c (patch)
tree8638337190540aab2436653efb5f2d5550e63e34 /sql/mysql.sql
parentAdd a missed SQL index on privacy_list_data table (diff)
Add SCRAM support to ejabberd_auth_odbc
Diffstat (limited to '')
-rw-r--r--sql/mysql.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/mysql.sql b/sql/mysql.sql
index e591092f7..c79d3062b 100644
--- a/sql/mysql.sql
+++ b/sql/mysql.sql
@@ -22,6 +22,10 @@ CREATE TABLE users (
created_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB CHARACTER SET utf8;
+-- To support SCRAM auth:
+-- ALTER TABLE users ADD COLUMN serverkey text NOT NULL DEFAULT '';
+-- ALTER TABLE users ADD COLUMN salt text NOT NULL DEFAULT '';
+-- ALTER TABLE users ADD COLUMN iterationcount integer NOT NULL DEFAULT 0;
CREATE TABLE last (
username varchar(250) PRIMARY KEY,