Skip to content

Commit

Permalink
changed datasource url
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshitPachori committed Jun 8, 2024
1 parent ce5a3df commit be9b7cd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
10 changes: 8 additions & 2 deletions ride_fast_backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
<optional>true</optional>
</dependency>

<dependency>
<!-- <dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<scope>runtime</scope>
</dependency>
</dependency> -->

<dependency>
<groupId>org.projectlombok</groupId>
Expand Down Expand Up @@ -105,6 +105,12 @@
<version>1.4.3</version>
</dependency>


<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>

<build>
Expand Down
6 changes: 3 additions & 3 deletions ride_fast_backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ server:

spring:
datasource:
url: jdbc:mysql://localhost:3306/ride_fast_db?createDatabaseIfNotExist=true
username: root
password: mysql
url: jdbc:postgresql://ep-ancient-fog-a40vxdub-pooler.us-east-1.aws.neon.tech:5432/verceldb
username: default
password: to3dMDXSjy6R
jpa:
hibernate:
ddl-auto: update
Expand Down

0 comments on commit be9b7cd

Please sign in to comment.