sensei
sensei copied to clipboard
Create a migration that copies the quiz data to the new tables
Goal
The goal of the card is to implement a migration job that copies the quiz data from comments to the new tables.
Scope
- Create a migration job that copies the quiz data from comments to the new tables.
- The migration job should run as a background process.
- To avoid timeouts, the migration job should process a limited number of rows (~250?) and continue in a new process.
- If storing related data in multiple tables, consider using MySQL transactions.
Notes
- For making the migrations, could use a similar approach as sensei-pro or woocommerce.