diff --git a/packages/sanity/src/_internal/cli/commands/migration/runMigrationCommand.ts b/packages/sanity/src/_internal/cli/commands/migration/runMigrationCommand.ts index 20524462e29..90944cd50b3 100644 --- a/packages/sanity/src/_internal/cli/commands/migration/runMigrationCommand.ts +++ b/packages/sanity/src/_internal/cli/commands/migration/runMigrationCommand.ts @@ -179,6 +179,13 @@ const runMigrationCommand: CliCommandDefinition = { return } + output.print( + `\n${chalk.yellow(chalk.bold('Note: During migrations, your webhooks stay active.'))}`, + ) + output.print( + `To adjust them, launch the management interface with ${chalk.cyan('sanity manage')}, navigate to the API settings, and toggle the webhooks before and after the migration as needed.\n`, + ) + const response = flags.confirm && (await prompt.single({