Skip to content

Commit 6e2cd21

Browse files
author
Rajeev Kumar Singh
committedApr 30, 2018
Removed Flyway
1 parent 3c93f94 commit 6e2cd21

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed
 

‎Readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ I've written a complete tutorial series for this application on The CalliCoder B
5353
mvn package
5454
java -jar target/polls-0.0.1-SNAPSHOT.jar
5555
```
56-
5. ~~**Add the default Roles**~~ (It's not needed now. I've added flyway migrations)
56+
5. **Add the default Roles**
5757

5858
The spring boot app uses role based authorization powered by spring security. Please execute the following sql queries in the database to insert the `USER` and `ADMIN` roles.
5959

‎polling-app-server/pom.xml

-7
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,6 @@
5757
<artifactId>jackson-datatype-jsr310</artifactId>
5858
</dependency>
5959

60-
61-
<!-- Flyway database management -->
62-
<dependency>
63-
<groupId>org.flywaydb</groupId>
64-
<artifactId>flyway-core</artifactId>
65-
</dependency>
66-
6760
<dependency>
6861
<groupId>org.springframework.boot</groupId>
6962
<artifactId>spring-boot-starter-test</artifactId>

‎polling-app-server/src/main/resources/application.properties

-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ spring.jpa.hibernate.ddl-auto = validate
1515
## Hibernate Logging
1616
logging.level.org.hibernate.SQL= DEBUG
1717

18-
## Flyway Properties
19-
spring.flyway.baseline-on-migrate=true
20-
2118
## Jackson Properties
2219
spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS= false
2320
spring.jackson.time-zone= UTC

0 commit comments

Comments
 (0)