Shubham, Ankit | Add. Postgres dependency and add application-dev file
This commit is contained in:
5
pom.xml
5
pom.xml
@@ -31,7 +31,10 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.postgresql</groupId>
|
||||
<artifactId>postgresql</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
|
||||
9
src/main/resources/application-dev.properties
Normal file
9
src/main/resources/application-dev.properties
Normal file
@@ -0,0 +1,9 @@
|
||||
spring.jpa.hibernate.ddl-auto=validate
|
||||
spring.datasource.url=jdbc:postgresql://localhost:5432/deployment_portal
|
||||
spring.datasource.username=postgres
|
||||
spring.datasource.password=
|
||||
spring.datasource.driver-class-name=org.postgresql.Driver
|
||||
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL9Dialect
|
||||
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
|
||||
spring.jpa.show-sql=true
|
||||
spring.jpa.properties.hibernate.format_sql=true
|
||||
Reference in New Issue
Block a user