-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
domain - set some columns to arbitrary length (TEXT type) #304
domain - set some columns to arbitrary length (TEXT type) #304
Conversation
The PR templates comes from core-geonetwork and not georchestra/geonetwork, weird ! (while writing this comment, I've seen that there's two PR templates. Can you remove the one in uppercase in this PR ?) What about @lob annotation, could it be better and upstream-compliant ? If it doesn't, is it possible to mention georchestra's specific features here : I add the PR template to your description. Anyway, it looks good to me if Lob doesn't work. |
I think I tried this before using |
Using
Reading a bit about this |
Indeed. Let's go for text then. (With a bit of doc in geonetwork migration's files) |
971b91b
to
183f7d2
Compare
PR updated |
GHA is failing, but the same tests are in error when I run maven locally on the |
In some cases we would need more than the default length for string (255chars). As indicated in a comment, this is not portable, but works with postgresql which is the de-facto standard in geOrchestra ? Rapidly checking, it looks like Oracle also supports it. Tests: runtime tested.
following PR's feedback.
7b70887
to
26215ec
Compare
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
…-to-abritrary-long-text domain - set some columns to arbitrary length (TEXT type)
In some cases we would need more than the default length for string (255chars), e.g. when using large logos or very long descriptions for our groups in the Console. Using a TEXT type sounds more appropriate than a VARCHAR which would require to raise the max number each time the limit is reached.
As indicated in a comment, this is not portable, but works with postgresql which is the de-facto standard in geOrchestra ? Rapidly checking, it looks like Oracle also supports it.
Tests: runtime tested.
Checklist
main
branch, backports managed with labelREADME.md
filespom.xml
dependency management. Update build documentation with intended library use and library tutorials or documentationgeOrchestra/geonetwork checklist