CREATE TABLE `db_str` ( `id` INT(10) NOT NULL, `type` INT(10) NOT NULL, `value` TEXT NOT NULL, PRIMARY KEY (`id`, `type`) );