Files
springboot-template/src/main/resources/db/migration/V2__example_auto_migration.sql
shenjianZ 40c85c3c1f feat: 实现完整的 RBAC 权限管理系统与基础设施增强
在初始认证基础上,新增完整的 RBAC 权限模型(角色、权限、菜单三级管理),
  集成审计日志、接口限流、登录失败锁定、Refresh Token 机制、Redis 分布式缓存与锁、
  RocketMQ 消息队列,并引入 Flyway 数据库版本管理,同时补充项目文档与使用示例
2026-04-10 10:58:22 +08:00

16 lines
723 B
SQL

-- V2: Example Flyway migration.
-- Keep this small file to show template users how automatic migrations work.
-- Add future schema changes as V3__xxx.sql, V4__xxx.sql, ...
CREATE TABLE IF NOT EXISTS app_schema_version_note (
`id` bigint NOT NULL AUTO_INCREMENT,
`version` varchar(50) NOT NULL,
`description` varchar(255) NOT NULL,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `uk_app_schema_version_note_version` (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='Flyway migration example note';
INSERT INTO app_schema_version_note (`version`, `description`)
VALUES ('V2', 'Example migration applied by Flyway automatically');