saleor-apps-redis_apl/apps/emails-and-messages/scripts/migrations
Krzysztof Wolski 86c2b7b10b
📧 Add runtime migrations to schema v2 (#535)
* Add runtime migrations to schema v2

* V2 migration scripts (#536)
2023-06-06 11:51:59 +02:00
..
migration-utils.ts 📧 Add runtime migrations to schema v2 (#535) 2023-06-06 11:51:59 +02:00
README.md 📧 Add runtime migrations to schema v2 (#535) 2023-06-06 11:51:59 +02:00
run-migration.ts 📧 Add runtime migrations to schema v2 (#535) 2023-06-06 11:51:59 +02:00
run-report.ts 📧 Add runtime migrations to schema v2 (#535) 2023-06-06 11:51:59 +02:00

Metadata migration scripts

To run dry-run (check migration without mutating the data): npx tsx scripts/migrations/run-report.ts

To update date and save it: npx tsx scripts/migrations/run-migration.ts