1
0
mirror of https://gitee.com/coder-xiaomo/flashsale synced 2025-01-10 11:48:14 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

数据库索引字段过长无法导入linux下MySQL,进行调整

This commit is contained in:
程序员小墨 2022-03-06 00:44:24 +08:00
parent 029fb6432e
commit 0babe4f15d

View File

@ -127,7 +127,7 @@ INSERT INTO `promo_info` VALUES (1, '小米手机抢购活动', '2022-03-05 14:0
-- ----------------------------
DROP TABLE IF EXISTS `sequence_info`;
CREATE TABLE `sequence_info` (
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`current_value` int(11) NOT NULL DEFAULT 0,
`step` int(11) NOT NULL DEFAULT 0,
PRIMARY KEY (`name`) USING BTREE