update sys_config index

This commit is contained in:
Liujian committed 2026-03-10 16:18:34 +08:00
1 parent d1c7a4b8c0
commit c272c87e1f
2 files changed
-5

No files matched your search

-3
View File
@@ -7,10 +7,7 @@ from datetime import datetime
class SysConfig(Base):
__tablename__ = "sys_config"
__table_args__ = (
{"mysql_engine": "InnoDB", "mysql_charset": "utf8mb4"},
{"mysql_comment": "System configuration table"},
{"mysql_indexes": [{"name": "idx_key_tenant_id", "columns": ["key", "tenant_id"]}]},
)
@@ -9,8 +9,6 @@ class SysConfigLarge(Base):
__tablename__ = "sys_config_large"
__table_args__ = (
{"mysql_engine": "InnoDB", "mysql_charset": "utf8mb4"},
{"mysql_comment": "System configuration table for large values"},
{"mysql_indexes": [{"name": "idx_key_tenant_id", "columns": ["key", "tenant_id"]}]},
)