refactor(DB/SQL): Update integer & utf to MySQL's new standards (#4929)

This commit is contained in:
Kitzunu 2021-03-24 15:50:06 +01:00 committed by GitHub
parent 2105305f55
commit e0d36be56e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
379 changed files with 3757 additions and 3748 deletions

View file

@ -6,38 +6,38 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_equipmentsets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_equipmentsets`
(
`guid` int(10) NOT NULL DEFAULT 0,
`setguid` bigint(20) NOT NULL AUTO_INCREMENT,
`setindex` tinyint(3) unsigned NOT NULL DEFAULT 0,
`guid` INT NOT NULL DEFAULT 0,
`setguid` BIGINT NOT NULL AUTO_INCREMENT,
`setindex` TINYINT unsigned NOT NULL DEFAULT 0,
`name` varchar(31) NOT NULL,
`iconname` varchar(100) NOT NULL,
`ignore_mask` int(11) unsigned NOT NULL DEFAULT 0,
`item0` int(11) unsigned NOT NULL DEFAULT 0,
`item1` int(11) unsigned NOT NULL DEFAULT 0,
`item2` int(11) unsigned NOT NULL DEFAULT 0,
`item3` int(11) unsigned NOT NULL DEFAULT 0,
`item4` int(11) unsigned NOT NULL DEFAULT 0,
`item5` int(11) unsigned NOT NULL DEFAULT 0,
`item6` int(11) unsigned NOT NULL DEFAULT 0,
`item7` int(11) unsigned NOT NULL DEFAULT 0,
`item8` int(11) unsigned NOT NULL DEFAULT 0,
`item9` int(11) unsigned NOT NULL DEFAULT 0,
`item10` int(11) unsigned NOT NULL DEFAULT 0,
`item11` int(11) unsigned NOT NULL DEFAULT 0,
`item12` int(11) unsigned NOT NULL DEFAULT 0,
`item13` int(11) unsigned NOT NULL DEFAULT 0,
`item14` int(11) unsigned NOT NULL DEFAULT 0,
`item15` int(11) unsigned NOT NULL DEFAULT 0,
`item16` int(11) unsigned NOT NULL DEFAULT 0,
`item17` int(11) unsigned NOT NULL DEFAULT 0,
`item18` int(11) unsigned NOT NULL DEFAULT 0,
`ignore_mask` INT unsigned NOT NULL DEFAULT 0,
`item0` INT unsigned NOT NULL DEFAULT 0,
`item1` INT unsigned NOT NULL DEFAULT 0,
`item2` INT unsigned NOT NULL DEFAULT 0,
`item3` INT unsigned NOT NULL DEFAULT 0,
`item4` INT unsigned NOT NULL DEFAULT 0,
`item5` INT unsigned NOT NULL DEFAULT 0,
`item6` INT unsigned NOT NULL DEFAULT 0,
`item7` INT unsigned NOT NULL DEFAULT 0,
`item8` INT unsigned NOT NULL DEFAULT 0,
`item9` INT unsigned NOT NULL DEFAULT 0,
`item10` INT unsigned NOT NULL DEFAULT 0,
`item11` INT unsigned NOT NULL DEFAULT 0,
`item12` INT unsigned NOT NULL DEFAULT 0,
`item13` INT unsigned NOT NULL DEFAULT 0,
`item14` INT unsigned NOT NULL DEFAULT 0,
`item15` INT unsigned NOT NULL DEFAULT 0,
`item16` INT unsigned NOT NULL DEFAULT 0,
`item17` INT unsigned NOT NULL DEFAULT 0,
`item18` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`setguid`),
UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`),
KEY `Idx_setindex` (`setindex`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_equipmentsets` WRITE;