cmck
Unable to start a pgroll migration using the Xata CLI
Oh apologies you're dead right, I'm certain that the version in the Xata CLI is older but I must have got the version numbers mixed up, apologies 🤦♂️ let me double check this and get back to you.
8 replies
Unable to start a pgroll migration using the Xata CLI
Hi Michael, thanks for bearing with me.
Unfortunately the version of pgroll in the Xata CLI will stay at
v0.11.1
for the foreseeable future. I appreciate this is a blocker for you and I apologise for any inconvenience caused.
We are currently working on pgroll
as a standalone tool that we will integrate also with our latest offering, coming soon. I'm afraid I can't provide much more detail, or offer an ETA, but you can stay up-to-date at https://xata.io/blog8 replies
Unable to start a pgroll migration using the Xata CLI
Hi Michael, thanks for reaching out. You are correct regarding the Xata CLI not supporting the newest migration syntax of pgroll and that's likely the cause of the error. Support for constraints was added in
v0.9.0
of pgroll.
To the best of my knowledge, using pgroll directly with Xata won't work, unfortunately, but let me bring this to the team's attention and see if I can find a workaround.8 replies
COPY statement
Hey @angelgce , it looks like you're using SQL over HTTP which does not support the
COPY
statement as per https://xata.io/docs/postgres#supported-statements4 replies