Merge pull request #148 from xpack-ai/open-base

update sys_config index
This commit is contained in:
Dot.L authored and GitHub committed 2026-03-10 16:19:17 +08:00
commit fedaa5f5df
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"]}]},
)