Update dict data label column config (#684)

This commit is contained in:
Wu Clan
2025-06-23 22:33:34 +08:00
committed by GitHub
parent 234bf708b3
commit ebd65c8246
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ class DictData(Base):
__tablename__ = 'sys_dict_data'
id: Mapped[id_key] = mapped_column(init=False)
label: Mapped[str] = mapped_column(String(32), unique=True, comment='字典标签')
label: Mapped[str] = mapped_column(String(32), comment='字典标签')
value: Mapped[str] = mapped_column(String(32), comment='字典值')
sort: Mapped[int] = mapped_column(default=0, comment='排序')
status: Mapped[int] = mapped_column(default=1, comment='状态0停用 1正常')

View File

@@ -1,6 +1,6 @@
[plugin]
summary = '数据字典'
version = '0.0.2'
version = '0.0.3'
description = '通常用于约束前端工程数据展示'
author = 'wu-clan'