If you have migration scripts written for the old
datocms-client package, you don't need to convert them to the latest
You can simply move them to a
mkdir migrations/legacyClientmv migrations/*.js migrations/legacyClient
The CLI will take care of passing to those migration scripts the old API client, while all the new migration scripts will be written directly in the
migrations directory, and will use the new API client.