Issue
So I am working on a RESTful API service and I got the following error:
could not read a hi value - you need to populate the table: confirmation_token_sequence
So after a quick google session I found out this should be the solution to my problem:
spring.jpa.hibernate.ddl-auto=create-drop
The problem is that I am using Gradle, and not Maven. So I know that in a Maven project that line of code should go into the pom.xml file and the Gradle variant of pom.xml is build.gradle, but I have no clue where and if it should go into the build.gradle file. Can anyone help me with my answer?
Thanks!!
Solution
The property
spring.jpa.hibernate.ddl-auto=create-drop
should go in the application configuration file [ application.properties or application.yaml] and not the build file.
Answered By - Amit