summaryrefslogtreecommitdiff
path: root/hercules/templates/char_reg_num_db.sql
blob: ea9429fe0fb0ce59cdc4bff80a84a6cdb3d0caf2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
DROP TABLE IF EXISTS `char_reg_num_db`;

CREATE TABLE IF NOT EXISTS `char_reg_num_db` (
  `char_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  `key` VARCHAR(32) BINARY NOT NULL DEFAULT '',
  `index` INT(11) UNSIGNED NOT NULL DEFAULT '0',
  `value` INT(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`char_id`,`key`,`index`),
  KEY `char_id` (`char_id`)
) ENGINE=InnoDB;