You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.5 KiB
28 lines
1.5 KiB
5 days ago
|
{
|
||
|
"$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
|
||
|
|
||
|
"DbConnection": {
|
||
|
// 具体配置见SqlSugar官网(第一个为默认库不需要设置ConfigId)
|
||
|
"ConnectionConfigs": [
|
||
|
{
|
||
|
"DbType": "MySql", // MySql、SqlServer、Sqlite、Oracle、PostgreSQL、Dm、Kdbndp、Oscar、MySqlConnector、Access、OpenGauss、QuestDB、HG、ClickHouse、GBase、Odbc、Custom
|
||
|
//"ConnectionString": "DataSource=./Admin.NET.db", // 库连接字符串
|
||
|
"ConnectionString": "Data Source='localhost';database='ajrplatform_newbs';User Id='root';pwd='123456';charset='utf8';pooling=true", // 库连接字符串
|
||
|
"EnableInitDb": true, // 启用库表初始化
|
||
|
"EnableInitSeed": true, // 启用种子初始化
|
||
|
"EnableDiffLog": false, // 启用库表差异日志
|
||
|
"EnableUnderLine": false // 启用驼峰转下划线
|
||
|
}
|
||
|
// 其他数据库配置(可以配置多个)
|
||
|
//{
|
||
|
// "ConfigId": "test",
|
||
|
// "DbType": "Sqlite",
|
||
|
// "ConnectionString": "DataSource=./test.db", // 库连接字符串
|
||
|
// "EnableInitDb": true, // 启用库表初始化
|
||
|
// "EnableInitSeed": true, // 启用种子初始化
|
||
|
// "EnableDiffLog": false, // 启用库表差异日志
|
||
|
// "EnableUnderLine": false // 启用驼峰转下划线
|
||
|
//}
|
||
|
]
|
||
|
}
|
||
|
}
|