Skip to content

Commit 4a2b851

Browse files
committed
to psq
1 parent 305865b commit 4a2b851

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@
3939
<optional>true</optional>
4040
</dependency>
4141
<dependency>
42-
<groupId>mysql</groupId>
43-
<artifactId>mysql-connector-java</artifactId>
44-
<scope>runtime</scope>
42+
<groupId>org.postgresql</groupId>
43+
<artifactId>postgresql</artifactId>
4544
</dependency>
4645
<dependency>
4746
<groupId>org.projectlombok</groupId>
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
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}
44
spring.datasource.password=${SPRING_DATASOURCE_PASSWORD:123456}
55

66
spring.jpa.show-sql=true
77
spring.jpa.hibernate.ddl-auto=update
8-
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect

0 commit comments

Comments
 (0)