Commit 05839e42 authored by Axel Brand's avatar Axel Brand Committed by daeva

Gojara

- fix missing limits on indices for primary key with MYSQL (thx panni)

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@13723 b35dd754-fafc-0310-a699-88a17e54d16e
parent f6fe2632
...@@ -3,7 +3,7 @@ CREATE TABLE ofGojaraSessions ( ...@@ -3,7 +3,7 @@ CREATE TABLE ofGojaraSessions (
username text NOT NULL, username text NOT NULL,
transport text NOT NULL, transport text NOT NULL,
lastActivity bigint(20) NOT NULL, lastActivity bigint(20) NOT NULL,
PRIMARY KEY (username, transport) PRIMARY KEY (username(255), transport(255))
); );
CREATE INDEX ofGojara_lastActivity_idx ON ofGojaraSessions(lastActivity); CREATE INDEX ofGojara_lastActivity_idx ON ofGojaraSessions(lastActivity);
......
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