fix: update vue3 sql

This commit is contained in:
2023-11-01 14:13:44 +08:00
parent 73f3d550a7
commit 3e2b9d776e
13 changed files with 1925 additions and 424 deletions

View File

@@ -0,0 +1,14 @@
SET FOREIGN_KEY_CHECKS=0;
DROP TABLE IF EXISTS `omc_db`.`sys_user_post`;
CREATE TABLE `omc_db`.`sys_user_post` (
`user_id` bigint(20) NOT NULL COMMENT '用户ID',
`post_id` bigint(20) NOT NULL COMMENT '岗位ID',
PRIMARY KEY (`user_id`, `post_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户与岗位关联表' ROW_FORMAT = Dynamic;
INSERT IGNORE INTO
`omc_db`.`sys_user_post` (`user_id`, `post_id`)
VALUES (1, 1);
SET FOREIGN_KEY_CHECKS=1;