feat(sql): 添加 ry-cloud 数据库创建脚本

- 在 ry_20250523.sql 中添加了创建 ry-cloud 数据库的脚本
- 在 quartz.sql 中添加了 USE `ry-cloud` 语句,指定操作的数据库
pull/428/head
Darren Luo 2025-07-30 21:59:46 +08:00
parent 4b37049713
commit fcc1e6d16c
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,5 @@
USE `ry-cloud`;
DROP TABLE IF EXISTS QRTZ_FIRED_TRIGGERS;
DROP TABLE IF EXISTS QRTZ_PAUSED_TRIGGER_GRPS;
DROP TABLE IF EXISTS QRTZ_SCHEDULER_STATE;

View File

@ -1,4 +1,11 @@
DROP DATABASE IF EXISTS `ry-cloud`;
CREATE DATABASE `ry-cloud` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
USE `ry-cloud`;
-- ----------------------------
-- 1、部门表