Commit 87be85bc authored by Matt Tucker's avatar Matt Tucker Committed by matt

Fixed database schema.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk/src/plugins/gateway@4500 b35dd754-fafc-0310-a699-88a17e54d16e
parent 91cba766
CREATE TABLE gatewayRegistration ( CREATE TABLE gatewayRegistration (
regisrationID BIGINT NOT NULL, registrationID BIGINT NOT NULL,
jid VARCHAR(1024) NOT NULL, jid VARCHAR(1024) NOT NULL,
gatewayType VARCHAR(15) NOT NULL, gatewayType VARCHAR(15) NOT NULL,
username VARCHAR(255) NOT NULL, username VARCHAR(255) NOT NULL,
password VARCHAR(255), password VARCHAR(255),
registrationDate BIGINT NOT NULL, registrationDate BIGINT NOT NULL,
lastLogin BIGINT, lastLogin BIGINT,
CONSTRAINT gatewayReg_pk PRIMARY KEY (registrationID); CONSTRAINT gatewayReg_pk PRIMARY KEY (registrationID)
); );
CREATE INDEX gatewayReg_jid_idx ON gatewayRegistration (jid); CREATE INDEX gatewayReg_jid_idx ON gatewayRegistration (jid);
CREATE INDEX gatewayReg_type_idx ON gatewayRegistration (gatewayType); CREATE INDEX gatewayReg_type_idx ON gatewayRegistration (gatewayType);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment