25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Use MEDIUMTEXT type for vcard avatars in MySQL schema (EJAB-1252)

This commit is contained in:
Evgeniy Khramtsov 2010-11-17 17:42:04 +09:00
parent 0ccbd7e3f2
commit 0b8a761a61

View File

@ -83,7 +83,7 @@ CREATE TABLE spool (
CREATE TABLE vcard (
host varchar(250) NOT NULL,
username varchar(250) NOT NULL,
vcard text NOT NULL,
vcard mediumtext NOT NULL,
created_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (host, username)
) CHARACTER SET utf8;