Commit 684a3a1a authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

[GATE-2] Added SQL files for other databases. Untested as of yet.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk/src/plugins/gateway@5181 b35dd754-fafc-0310-a699-88a17e54d16e
parent dc841311
CREATE TABLE gatewayRegistration (
registrationID BIGINT NOT NULL,
jid VARCHAR(255) NOT NULL,
transportType VARCHAR(15) NOT NULL,
username VARCHAR(255) NOT NULL,
password VARCHAR(255),
registrationDate BIGINT NOT NULL,
lastLogin BIGINT,
CONSTRAINT gatewayReg_pk PRIMARY KEY (registrationID)
);
CREATE INDEX gatewayReg_jid_idx ON gatewayRegistration (jid);
CREATE INDEX gatewayReg_type_idx ON gatewayRegistration (transportType);
INSERT INTO jiveVersion (name, version) VALUES ('gateway', 0);
CREATE TABLE gatewayRegistration (
registrationID INTEGER NOT NULL,
jid VARCHAR2(255) NOT NULL,
transportType VARCHAR2(15) NOT NULL,
username VARCHAR2(255) NOT NULL,
password VARCHAR2(255),
registrationDate INTEGER NOT NULL,
lastLogin INTEGER,
CONSTRAINT gatewayReg_pk PRIMARY KEY (registrationID)
);
CREATE INDEX gatewayReg_jid_idx ON gatewayRegistration (jid);
CREATE INDEX gatewayReg_type_idx ON gatewayRegistration (transportType);
INSERT INTO jiveVersion (name, version) VALUES ('gateway', 0);
commit;
\ No newline at end of file
CREATE TABLE gatewayRegistration (
registrationID INTEGER NOT NULL,
jid NVARCHAR(255) NOT NULL,
transportType NVARCHAR(15) NOT NULL,
username NVARCHAR(255) NOT NULL,
password NVARCHAR(255),
registrationDate INTEGER NOT NULL,
lastLogin INTEGER,
CONSTRAINT gatewayReg_pk PRIMARY KEY (registrationID)
);
CREATE INDEX gatewayReg_jid_idx ON gatewayRegistration (jid);
CREATE INDEX gatewayReg_type_idx ON gatewayRegistration (transportType);
INSERT INTO jiveVersion (name, version) VALUES ('gateway', 0);
CREATE TABLE gatewayRegistration (
registrationID INTEGER NOT NULL,
jid NVARCHAR(255) NOT NULL,
transportType NVARCHAR(15) NOT NULL,
username NVARCHAR(255) NOT NULL,
password NVARCHAR(255),
registrationDate INTEGER NOT NULL,
lastLogin INTEGER,
CONSTRAINT gatewayReg_pk PRIMARY KEY (registrationID)
);
CREATE INDEX gatewayReg_jid_idx ON gatewayRegistration (jid);
CREATE INDEX gatewayReg_type_idx ON gatewayRegistration (transportType);
INSERT INTO jiveVersion (name, version) VALUES ('gateway', 0);
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