Skip to content

Commit

Permalink
🐛 activiti 建表不自动创建history表的问题,修改jdbc连接串
Browse files Browse the repository at this point in the history
  • Loading branch information
xkcoding committed Jul 1, 2019
1 parent 76afcf7 commit dd661e3
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions spring-boot-demo-activiti/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
spring:
activiti:
check-process-definitions: false
db-history-used: true
history-level: full
datasource:
url: jdbc:mysql://localhost:3306/spring-boot-demo
username: root
password: root
hikari:
data-source-properties:
useSSL: false
serverTimezone: GMT+8
useUnicode: true
characterEncoding: utf8
# 这个必须要加,否则 Activiti 自动建表会失败
nullCatalogMeansCurrent: true

0 comments on commit dd661e3

Please sign in to comment.