Commit 3e654f12 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Consistency changes and adjustments for MySQL 4 compatibility.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4695 b35dd754-fafc-0310-a699-88a17e54d16e
parent 6f0764c1
CREATE TABLE gatewayRegistration ( CREATE TABLE gatewayRegistration (
registrationID BIGINT NOT NULL, registrationID BIGINT NOT NULL,
jid VARCHAR(1024) NOT NULL, jid VARCHAR(255) NOT NULL,
transportType VARCHAR(15) NOT NULL, transportType VARCHAR(15) NOT NULL,
username VARCHAR(255) NOT NULL, username VARCHAR(255) NOT NULL,
password VARCHAR(255), password VARCHAR(255),
......
CREATE TABLE gatewayRegistration ( CREATE TABLE gatewayRegistration (
registrationID BIGINT NOT NULL, registrationID BIGINT NOT NULL,
jid VARCHAR(1024) NOT NULL, jid VARCHAR(255) NOT NULL,
transportType VARCHAR(15) NOT NULL, transportType 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,
PRIMARY KEY (registrationID), PRIMARY KEY (registrationID),
INDEX gatewayReg_jid_idx(jid(500)), INDEX gatewayReg_jid_idx(jid),
INDEX gatewayReg_type_idx(transportType) INDEX gatewayReg_type_idx(transportType)
); );
......
CREATE TABLE gatewayRegistration ( CREATE TABLE gatewayRegistration (
registrationID BIGINT NOT NULL, registrationID BIGINT NOT NULL,
jid VARCHAR(1024) NOT NULL, jid VARCHAR(255) NOT NULL,
transportType VARCHAR(15) NOT NULL, transportType VARCHAR(15) NOT NULL,
username VARCHAR(255) NOT NULL, username VARCHAR(255) NOT NULL,
password VARCHAR(255), password VARCHAR(255),
......
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