In usual migration I am using SQL usual COPY CSV command, but now all the SpringBoot project must be into a git and generic path for clone (and do it in a protected server):
where the best place or "standard Spring folder" to CSV files used by
main/resources/db/migration?how to use the
COPY(SQL) with a relative path?
Relative path by shell is:
psql -h localhost -U postgres gcp -c "\
CREATE TABLE question_import (question text, weight integer); \
COPY question_import FROM STDIN WITH CSV HEADER delimiter as ',' \
" < _docs/data/csc-questoes.csv
but PostgreSQL not supports internal relative path.
db/migration", independent of other server-side intalls