Skip to content

Commit ebd65c8

Browse files
authored
Update dict data label column config (#684)
1 parent 234bf70 commit ebd65c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/plugin/dict/model/dict_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class DictData(Base):
2121
__tablename__ = 'sys_dict_data'
2222

2323
id: Mapped[id_key] = mapped_column(init=False)
24-
label: Mapped[str] = mapped_column(String(32), unique=True, comment='字典标签')
24+
label: Mapped[str] = mapped_column(String(32), comment='字典标签')
2525
value: Mapped[str] = mapped_column(String(32), comment='字典值')
2626
sort: Mapped[int] = mapped_column(default=0, comment='排序')
2727
status: Mapped[int] = mapped_column(default=1, comment='状态(0停用 1正常)')

backend/plugin/dict/plugin.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[plugin]
22
summary = '数据字典'
3-
version = '0.0.2'
3+
version = '0.0.3'
44
description = '通常用于约束前端工程数据展示'
55
author = 'wu-clan'
66

0 commit comments

Comments
 (0)