We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should include:
migrations:create
npx datocms maintenance:on|off
migrations:apply
migrations:promote
docs/upgrading.md
The text was updated successfully, but these errors were encountered:
Verified this works npx jiti scripts/create-migration.ts where scripts/create-migration.ts:
npx jiti scripts/create-migration.ts
scripts/create-migration.ts
import { exec } from 'node:child_process'; import { datocmsEnvironment } from '../datocms-environment'; exec(`npx datocms migrations:new --autogenerate=${datocmsEnvironment} ${datocmsEnvironment}`, (error, stdout, stderr) => { if (error) { console.error(`exec error: ${error}`); return; } console.log(`stdout: ${stdout}`); });
Sorry, something went wrong.
jbmoelker
No branches or pull requests
Should include:
migrations:create
script to help out)npx datocms maintenance:on|off
, see datocms docs)migrations:apply
script to help out)migrations:promote
script to help out, see promote)docs/upgrading.md
as performing a migration is required in case of new migration files.The text was updated successfully, but these errors were encountered: