Unable to start a pgroll migration using the Xata CLI

Hi 👋

I'm having trouble starting a pgroll v0.11.1 migration using the Xata CLI.

The error I get is:
xata migrate start mybranch db/migrations/pgroll/0000_init.json

  Error: invalid migration: decode migration [create_table]: json: unknown field "constraints"


I suspect that has to do with the Xata CLI not supporting the newest migration syntax of pgroll. What can I do to work around this issue? Can I use pgroll directly?
Was this page helpful?