(improvement)(headless&chat) System parameter compatible with historical data and front-end (#1070)

This reverts commit 59f6169569.

Co-authored-by: jolunoluo
This commit is contained in:
LXW
2024-06-01 12:09:09 +08:00
committed by GitHub
parent 59f6169569
commit f07e80587d
18 changed files with 93 additions and 54 deletions

View File

@@ -313,4 +313,7 @@ CREATE TABLE IF NOT EXISTS `s2_term` (
alter table s2_agent add column `llm_config` varchar(2000) COLLATE utf8_unicode_ci DEFAULT NULL;
alter table s2_agent add column `multi_turn_config` varchar(2000) COLLATE utf8_unicode_ci DEFAULT NULL;
alter table s2_model add column `ext` varchar(1000) DEFAULT NULL;
alter table s2_model add column `ext` varchar(1000) DEFAULT NULL;
--20240601
alter table s2_sys_parameter rename to s2_system_config;

View File

@@ -517,7 +517,7 @@ CREATE TABLE IF NOT EXISTS `company_brand_revenue` (
CREATE TABLE IF NOT EXISTS s2_sys_parameter
CREATE TABLE IF NOT EXISTS s2_system_config
(
id INT PRIMARY KEY AUTO_INCREMENT,
admin varchar(500),

View File

@@ -431,7 +431,7 @@ create table s2_user
PRIMARY KEY (`id`)
);
CREATE TABLE s2_sys_parameter
CREATE TABLE s2_system_config
(
id int primary key AUTO_INCREMENT COMMENT '主键id',
admin varchar(500) COMMENT '系统管理员',

View File

@@ -517,7 +517,7 @@ CREATE TABLE IF NOT EXISTS `company_brand_revenue` (
CREATE TABLE IF NOT EXISTS s2_sys_parameter
CREATE TABLE IF NOT EXISTS s2_system_config
(
id INT PRIMARY KEY AUTO_INCREMENT,
admin varchar(500),