feat(suffix): 支持根目录重命名、列宽保存、锚定值与文件发布
Some checks failed
Check / delivery-static (push) Has been cancelled
Check / api (push) Has been cancelled
Check / web (push) Has been cancelled

This commit is contained in:
lianjianwei2024
2026-10-31 09:17:28 +08:00
parent ac4b4a1c06
commit 5fdac9902d
18 changed files with 824 additions and 314 deletions

View File

@@ -0,0 +1,9 @@
-- Suffix management fixed-column widths (basic settings + directory workspace tables).
-- scope: 'basic' | 'workspace'; col_key: idx/suffix/files/ops/anchor; width 0 = auto.
CREATE TABLE suffix_col_widths (
scope VARCHAR(20) NOT NULL,
col_key VARCHAR(32) NOT NULL,
width INT NOT NULL DEFAULT 0,
updated_at TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6),
PRIMARY KEY(scope,col_key)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;