Added new tables used by the Swift object storage connector.

The config database is extended by a table named 'swift_token' that stores the authentication tokens for each registered Swift file storage. Therefore the change-set file 'swiftConfigdbChangeLog.xml' is added, which creates that table:

CREATE TABLE swift_token (
id VARCHAR(32) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
token VARCHAR(512) COLLATE utf8_unicode_ci NOT NULL,
expires BIGINT(64) NOT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;



Moreover references to the stored objects in Swift object storage need to be tracked and managed. Therefore table 'swift_filestore' has been introduced:

CREATE TABLE swift_filestore (
cid INT4 unsigned NOT NULL,
user INT4 unsigned NOT NULL,
document_id BINARY(16) NOT NULL,
swift_id BINARY(16) NOT NULL,
offset BIGINT(64) NOT NULL,
length BIGINT(64) NOT NULL,
PRIMARY KEY (cid, user, document_id, swift_id),
UNIQUE KEY (),
INDEX (, )
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci

That table gets created for existing database schemas with update task: com.openexchange.filestore.swift.groupware.SwiftCr eateTableTask