fix: add model display name

This commit is contained in:
wolfkill
2026-05-28 18:36:38 +08:00
committed by lyingbug
parent 4e58dd42cc
commit 43565c5d1b
21 changed files with 187 additions and 46 deletions
@@ -0,0 +1,10 @@
-- Migration: 000056_models_display_name
-- Add an optional user-facing display name for model rows. Runtime model
-- calls continue to use models.name; this field is presentation-only.
DO $$ BEGIN RAISE NOTICE '[Migration 000056] Adding models.display_name column'; END $$;
ALTER TABLE models
ADD COLUMN IF NOT EXISTS display_name VARCHAR(255) NOT NULL DEFAULT '';
DO $$ BEGIN RAISE NOTICE '[Migration 000056] Done'; END $$;