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:
parent
8a441b9cac
commit
e47475fff6
64 changed files with 2931 additions and 0 deletions
11
sql/sqlite/ejabberd_auth.sql
Normal file
11
sql/sqlite/ejabberd_auth.sql
Normal 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);
|
Loading…
Add table
Add a link
Reference in a new issue