docs(GOV-011): 统一运行时系列版本口径
This commit is contained in:
@@ -13,7 +13,7 @@ export interface RedisRuntimeConfig {
|
||||
tls: boolean;
|
||||
}
|
||||
|
||||
/** MySQL 配置固定 5.7.42 兼容口径,启用状态决定凭据是否必填。 */
|
||||
/** MySQL 配置固定 5.7.x 兼容口径,启用状态决定凭据是否必填。 */
|
||||
export interface MysqlRuntimeConfig {
|
||||
enabled: boolean;
|
||||
host: string;
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { MysqlConnectionOptions } from 'typeorm/driver/mysql/MysqlConnectio
|
||||
import type { MysqlRuntimeConfig } from '../../config/src/runtime-config';
|
||||
|
||||
/**
|
||||
* 生成 MySQL 5.7.42 TypeORM 基线选项;迁移未落地前不自动运行,且永久禁止 synchronize。
|
||||
* 生成 MySQL 5.7.x TypeORM 基线选项;迁移未落地前不自动运行,且永久禁止 synchronize。
|
||||
*/
|
||||
export function buildTypeOrmOptions(config: MysqlRuntimeConfig): MysqlConnectionOptions {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user