PG验证
This commit is contained in:
@@ -91,7 +91,6 @@ public class MapperCompatibilityTest {
|
||||
entity.setFileSize(2048L);
|
||||
entity.setCreateTime(LocalDateTime.now());
|
||||
entity.setUpdateTime(LocalDateTime.now());
|
||||
entity.setCreateYearMonth("2026-01");
|
||||
|
||||
int insertResult = fileStorageMapper.insert(entity);
|
||||
assertEquals(1, insertResult);
|
||||
|
||||
@@ -4,7 +4,7 @@ spring:
|
||||
datasource:
|
||||
username: spdm
|
||||
password: Spdm@2026
|
||||
jdbc-url: jdbc:postgresql://192.168.65.161:25432/spdm?currentSchema=public&stringtype=unspecified
|
||||
jdbc-url: jdbc:postgresql://192.168.65.161:25432/spdm_baseline?currentSchema=public&stringtype=unspecified
|
||||
driver-class-name: org.postgresql.Driver
|
||||
hikari:
|
||||
# 设置连接池能够容纳的最大连接数。建议值:CPU核心数 * 2 + 有效磁盘I/O数。一个常见的经验值是 10-20。
|
||||
@@ -20,7 +20,7 @@ spring:
|
||||
master:
|
||||
username: spdm
|
||||
password: Spdm@2026
|
||||
jdbc-url: jdbc:postgresql://192.168.65.161:25432/spdm?currentSchema=public&stringtype=unspecified
|
||||
jdbc-url: jdbc:postgresql://192.168.65.161:25432/spdm_baseline?currentSchema=public&stringtype=unspecified
|
||||
driver-class-name: org.postgresql.Driver
|
||||
slave:
|
||||
username: root
|
||||
|
||||
Reference in New Issue
Block a user