mirror of
https://gitee.com/coder-xiaomo/flashsale
synced 2025-01-10 19:58:14 +08:00
数据库索引字段过长无法导入linux下MySQL,进行调整
This commit is contained in:
parent
029fb6432e
commit
0babe4f15d
@ -127,7 +127,7 @@ INSERT INTO `promo_info` VALUES (1, '小米手机抢购活动', '2022-03-05 14:0
|
|||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
DROP TABLE IF EXISTS `sequence_info`;
|
DROP TABLE IF EXISTS `sequence_info`;
|
||||||
CREATE TABLE `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,
|
`current_value` int(11) NOT NULL DEFAULT 0,
|
||||||
`step` int(11) NOT NULL DEFAULT 0,
|
`step` int(11) NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`name`) USING BTREE
|
PRIMARY KEY (`name`) USING BTREE
|
||||||
|
Loading…
Reference in New Issue
Block a user