删除无用表,新增增量sql
This commit is contained in:
10
sql/3.1升级3.2sql.sql
Normal file
10
sql/3.1升级3.2sql.sql
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
|
||||
-- ----------------------------
|
||||
-- 字段修改
|
||||
-- ----------------------------
|
||||
ALTER TABLE yx_store_product ADD COLUMN is_integral tinyint(1) ZEROFILL NULL DEFAULT 0 COMMENT '是开启积分兑换' AFTER is_del;
|
||||
ALTER TABLE yx_store_product_attr_value ADD COLUMN integral INT(10) DEFAULT 0 COMMENT '需要多少积分兑换' AFTER seckill_price;
|
||||
|
||||
|
||||
|
@ -1327,20 +1327,6 @@ INSERT INTO `roles_menus` VALUES (261, 1);
|
||||
INSERT INTO `roles_menus` VALUES (262, 1);
|
||||
INSERT INTO `roles_menus` VALUES (263, 1);
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for student
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `student`;
|
||||
CREATE TABLE `student` (
|
||||
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '学生id',
|
||||
`student_sex` tinyint(1) NOT NULL DEFAULT 1 COMMENT '学生性别',
|
||||
`status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '状态 1正常 0禁用',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '学生表' ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of student
|
||||
-- ----------------------------
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for user
|
||||
|
Reference in New Issue
Block a user