File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 39
39
<optional >true</optional >
40
40
</dependency >
41
41
<dependency >
42
- <groupId >mysql</groupId >
43
- <artifactId >mysql-connector-java</artifactId >
44
- <scope >runtime</scope >
42
+ <groupId >org.postgresql</groupId >
43
+ <artifactId >postgresql</artifactId >
45
44
</dependency >
46
45
<dependency >
47
46
<groupId >org.projectlombok</groupId >
Original file line number Diff line number Diff line change 1
- spring.datasource.driver-class-name =com.mysql.cj.jdbc.Driver
2
- spring.datasource.url =${SPRING_DATASOURCE_URL:jdbc:mysql ://localhost:3306/sp_project? serverTimezone =UTC }
3
- spring.datasource.username =${SPRING_DATASOURCE_USERNAME:user }
1
+
2
+ spring.datasource.url =${SPRING_DATASOURCE_URL:jdbc:postgresql ://localhost:5432/postgres }
3
+ spring.datasource.username =${SPRING_DATASOURCE_USERNAME:postgres }
4
4
spring.datasource.password =${SPRING_DATASOURCE_PASSWORD:123456}
5
5
6
6
spring.jpa.show-sql =true
7
7
spring.jpa.hibernate.ddl-auto =update
8
- spring.jpa.properties.hibernate.dialect =org.hibernate.dialect.MySQL5Dialect
You can’t perform that action at this time.
0 commit comments