功能变化: 表前缀配置更新

pull/56/head
李强 2022-05-09 19:12:11 +08:00
parent e7fb4ea8ab
commit 4e357fc20e
2 changed files with 3 additions and 3 deletions

View File

@ -365,5 +365,5 @@ REGISTER_PLUGINS = (
INITIALIZE_LIST = []
INITIALIZE_RESET_LIST = []
# 表前缀
TABLE_PREFIX = getattr(locals(), "TABLE_PREFIX", "dvadmin_")
DEFAULT_PASSWORD = getattr(locals(), "DEFAULT_PASSWORD", "admin123456")
TABLE_PREFIX = locals().get('TABLE_PREFIX', "")
DEFAULT_PASSWORD = locals().get("DEFAULT_PASSWORD", "admin123456")

View File

@ -24,7 +24,7 @@ DATABASE_USER = "root"
DATABASE_PASSWORD = "123456"
# 表前缀
TABLE_PREFIX = "dvadmin_"
TABLE_PREFIX = "sys_"
# ================================================= #
# ******** redis配置无redis 可不进行配置 ******** #
# ================================================= #