-
Open the following file in your code editor:
C:\Users\hp\WebstormProjects\otakuz\migrations\adding-activities-and-tournaments-to-events\index.ts
-
Write the code for your migration.
-
Dry run the migration with the following command:
sanity migration run adding-activities-and-tournaments-to-events --project=<projectId> --dataset <dataset>
-
Run the migration against a dataset with:
`sanity migration run adding-activities-and-tournaments-to-events --project=<projectId> --dataset <dataset> --no-dry-run