Acceptance Criteria:
- Define the table structure
- Implement a schema change for it
- Create the table in production and beta
Checklist
- Design the schema
- Make schema change patch for it
- Get initial reviews (+1s)
- Tag this task with DBA
- Request DBA signoff
- Get approval
Deployment
- Merge the schema patch
- This will automatically create the new table in beta
- Wait until the patch reaches production
- Schedule a dedicated deployment window, note the time here
- [[ diff_URL_on_wikitech | date and time ]]
- Create the table everywhere:
- mwscript sql.php --wiki=testwiki --cluster=extension1 /srv/mediawiki/php-1.46.0-wmf.XX/extensions/CampaignEvents/db_patches/mysql/patch-add-NAME.sql
- mwscript sql.php --wiki=test2wiki --cluster=extension1 /srv/mediawiki/php-1.46.0-wmf.XX/extensions/CampaignEvents/db_patches/mysql/patch-add-NAME.sql
- mwscript sql.php --wiki=officewiki --cluster=extension1 /srv/mediawiki/php-1.46.0-wmf.XX/extensions/CampaignEvents/db_patches/mysql/patch-add-NAME.sql
- mwscript sql.php --wiki=metawiki --cluster=extension1 --wikidb wikishared /srv/mediawiki/php-1.46.0-wmf.XX/extensions/CampaignEvents/db_patches/mysql/patch-add-NAME.sql