Environments and migrations
Running legacy migration scripts
If you have migration scripts written for the old datocms-client package, you don't need to convert them to the latest @datocms/cma-client package.
You can simply move them to a legacyClient directory:
mkdir migrations/legacyClientmv migrations/*.js migrations/legacyClientThe CLI will take care of passing those migration scripts to 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.