fix: ServerConfiguration中的database改为可选,实际未使用,在backend从oak-db引用配置类型,处理动态导入

This commit is contained in:
Pan Qiancheng 2025-12-30 15:46:55 +08:00
parent 65beea7fb7
commit a1e851e186
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ export type RedisConfiguration = {
*
*/
export type ServerConfiguration = {
database: {
database?: {
type: 'mysql';
host: string;
database: string;

View File

@ -21,7 +21,7 @@ export type RedisConfiguration = {
*
*/
export type ServerConfiguration = {
database: {
database?: { // 改为可选兼容老项目实际不再在这里使用backend从oak-db引用配置类型处理动态导入
type: 'mysql',
host: string;
database: string;