Skip to content

Commit 3d12b45

Browse files
Merge pull request #41 from SelahattinSert/task/create-db-on-azure
Task/create db on azure
2 parents 2c73e98 + 3b2009b commit 3d12b45

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@
8585
<version>2.6.0</version>
8686
</dependency>
8787

88+
<dependency>
89+
<groupId>com.microsoft.sqlserver</groupId>
90+
<artifactId>mssql-jdbc</artifactId>
91+
<version>12.8.1.jre11</version>
92+
</dependency>
93+
8894
<dependency>
8995
<groupId>org.springframework.boot</groupId>
9096
<artifactId>spring-boot-starter-test</artifactId>

src/main/resources/application.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ spring.application.name=camera-onboarding
22
spring.datasource.url=${SPRING_DB_URL}
33
spring.datasource.username=${SPRING_DB_USERNAME}
44
spring.datasource.password=${SPRING_DB_PASSWORD}
5-
spring.datasource.driver-class-name=org.postgresql.Driver
6-
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
5+
spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver
6+
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLServerDialect
77
spring.liquibase.change-log=classpath:db/changelog/changelog-master.xml
88
api.version=api/v1
99
# Azure blob storage configuration

0 commit comments

Comments
 (0)