DROP TABLE IF EXISTS `%TABLE_PREFIX%wv2_meta`;

CREATE TABLE `%TABLE_PREFIX%wv2_meta` (
	object_id   INT UNSIGNED        NOT NULL,
	clang       INT UNSIGNED        NOT NULL,
	metainfo    VARCHAR(64)         NOT NULL,
	meta_type   TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',
	value       TEXT,
	PRIMARY KEY(object_id,clang,metainfo(64),meta_type),
	INDEX meta_type (meta_type)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
