1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-05 19:42:11 +02:00

Reorganize SQL schema files

This commit is contained in:
Evgeniy Khramtsov 2018-07-19 10:24:19 +03:00
parent 8a441b9cac
commit e47475fff6
64 changed files with 2931 additions and 0 deletions

View file

@ -0,0 +1,11 @@
CREATE TABLE "users" (
username text NOT NULL,
server_host text NOT NULL,
password text NOT NULL,
serverkey text NOT NULL DEFAULT '',
salt text NOT NULL DEFAULT '',
iterationcount integer NOT NULL DEFAULT 0,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE UNIQUE INDEX i_users_sh_username ON "users" (server_host, username);