You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation provides an example for "flyway" usage with this jooq plugin.
When I try to use databaseSources with a value like listOf("filesystem:../database/migrations") this leads to this kind of error:
> Task :jooq-codegen-primary FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':jooq-codegen-primary'.
> Cannot convert URL 'filesystem:../database/migrations' to a file.
I need to use the filesystem:.. format of URL because my changelog is managed in another folder of my repository, outside of my kotlin project (because we generate an init-db container with this source files).
Do you think it could be possible to support this kind of file path?
The text was updated successfully, but these errors were encountered:
davinkevin
added a commit
to davinkevin/Podcast-Server
that referenced
this issue
Jun 27, 2020
Following rohanprabhu/kotlin-dsl-gradle-jooq-plugin#23, we choose to copy files into buildDir before flywayMigrate operations. Thanks to that, we can use the same url between flyWay and JOOQ plugin.
Closes #88
The documentation provides an example for "flyway" usage with this jooq plugin.
When I try to use
databaseSources
with a value likelistOf("filesystem:../database/migrations")
this leads to this kind of error:I need to use the
filesystem:..
format of URL because my changelog is managed in another folder of my repository, outside of my kotlin project (because we generate aninit-db
container with this source files).Do you think it could be possible to support this kind of file path?
The text was updated successfully, but these errors were encountered: