diff --git a/server/skillhub-app/src/main/resources/db/migration/V7__fix_audit_log_jsonb_type.sql b/server/skillhub-app/src/main/resources/db/migration/V7__fix_audit_log_jsonb_type.sql index becd1661..10fb3517 100644 --- a/server/skillhub-app/src/main/resources/db/migration/V7__fix_audit_log_jsonb_type.sql +++ b/server/skillhub-app/src/main/resources/db/migration/V7__fix_audit_log_jsonb_type.sql @@ -1,12 +1,10 @@ -- Fix audit_log detail_json column to properly handle JSONB type -- This migration ensures existing data is compatible with the JSONB type --- The column is already defined as jsonb in V1, but we need to ensure --- any existing string data can be properly cast to jsonb -ALTER TABLE audit_log -ALTER COLUMN detail_json TYPE jsonb -USING CASE - WHEN detail_json IS NULL THEN NULL - WHEN detail_json = '' THEN NULL - ELSE detail_json::jsonb -END; +-- The column is already defined as jsonb in V1, so this migration is a no-op +-- for fresh installations. For existing installations with text data, this would +-- have been needed, but since the column was always jsonb, we just verify it exists. + +-- No-op migration: column is already jsonb in V1 +-- This file exists to maintain migration version continuity +SELECT 1; diff --git a/web/src/app/layout.tsx b/web/src/app/layout.tsx index 69d0472e..44d6f23c 100644 --- a/web/src/app/layout.tsx +++ b/web/src/app/layout.tsx @@ -25,15 +25,31 @@ export function Layout() { {/* Glass header */}
- -
- S -
- - SkillHub - - + {/* 左侧: Logo + 主导航 */} +
+ +
+ S +
+ + SkillHub + + + {/* 主导航链接 */} + +
+ + {/* 右侧菜单 */}