feat: update database schema and configuration for Flyway integration and refactor table names

This commit is contained in:
siujamo
2026-03-19 10:54:50 +08:00
parent 7c9f9c35f9
commit 484a9f4a71
10 changed files with 145 additions and 142 deletions
+3 -3
View File
@@ -15,7 +15,7 @@
) AS input_roles_temp
WHERE NOT EXISTS (
SELECT 1
FROM roles r
FROM role r
WHERE r.id = input_roles_temp.id
)
)
@@ -31,7 +31,7 @@
status,
created_at,
updated_at
FROM roles
FROM role
<where>
<if test="wrapper.name != null and wrapper.name != ''">
AND name LIKE '%' || #{wrapper.name} || '%'
@@ -54,7 +54,7 @@
<select id="count" parameterType="com.onixbyte.helix.domain.database.query.wrapper.QueryRoleWrapper">
SELECT COUNT(*)
FROM roles
FROM role
<where>
<if test="wrapper.name != null and wrapper.name != ''">
AND name LIKE '%' || #{wrapper.name} || '%'