sql update for release 1.0.9
This commit is contained in:
9
sql/upgrade/1.0.9/upgrade.sql
Normal file
9
sql/upgrade/1.0.9/upgrade.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
INSERT INTO `wfc_system_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `name`) VALUES (2031, 'menu.device.wlan.management', 2028, 12, '/device/wlan', 'view.device_wlan', NULL, 1, 1, 'C', '0', '0', '', 'carbon:rocket', 'super', '2025-02-18 10:46:31', '', NULL, '', 'device_wlan');
|
||||
|
||||
INSERT INTO `wfc_system_db`.`sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `name`) VALUES (2032, 'menu.device.portal.management', 2028, 14, '/device/portal', 'view.device_portal', NULL, 1, 1, 'C', '0', '0', '', 'carbon:building-insights-3', 'super', '2025-02-18 10:46:31', '', NULL, '', 'device_portal');
|
||||
|
||||
INSERT INTO `wfc_system_db`.`sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 2032);
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
@@ -1,5 +0,0 @@
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
@@ -1,5 +0,0 @@
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
@@ -1,19 +0,0 @@
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
DROP TABLE IF EXISTS `wfc_user_db`.`u_alipay_order`;
|
||||
|
||||
DROP TABLE IF EXISTS `wfc_user_db`.`u_balance`;
|
||||
|
||||
DROP TABLE IF EXISTS `wfc_user_db`.`u_cdr_detail`;
|
||||
|
||||
DROP TABLE IF EXISTS `wfc_user_db`.`u_credit_card_order`;
|
||||
|
||||
DROP TABLE IF EXISTS `wfc_user_db`.`u_credit_card_token`;
|
||||
|
||||
DROP TABLE IF EXISTS `wfc_user_db`.`u_wxpay_order`;
|
||||
|
||||
ALTER TABLE `wfc_user_db`.`u_user`
|
||||
ADD COLUMN `birth_date` date NULL COMMENT '出生日期' AFTER `age`;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
Reference in New Issue
Block a user