Help Request:[Schema Validation Failure] #13933
Unanswered
christinalegaki
asked this question in
Help requests
Replies: 1 comment 5 replies
|
The error indicates that you are DB is using the old schema before it was cleaned up. There is no migration path, DB will have to reset and migrations applied again. |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Environment
Environment:
OS: Windows 11
JDK: 21 (Adoptium)
Docker Desktop (WSL2 engine)
Intention
I’m encountering a persistent SchemaManagementException when running ./gradlew serverRun, which results in an HTTP 503 error.
The Error:
org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: wrong column type encountered in column [id] in table [feedback_response_comments]; found [int8 (Types#BIGINT)], but expecting [uuid (Types#UUID)]
Steps I’ve already taken to resolve this:
Ran ./gradlew clean serverRun.
Attempted a full database reset using docker compose down -v and manually deleting the postgres-data folder.
Executed ./gradlew liquibaseUpdate (which finished successfully).
Verified that my build.properties has the correct app.encryption.key and app.hmac.key
Resolution Attempt
No response
All reactions