Page MenuHomePhabricator

Add the cec_references_delta column to ce_event_contributions
Closed, ResolvedPublic

Description

Context: We need to store references-related contribution data in CampaignEvents contributions. To support this, we are adding a new cec_references_delta field to an existing table (ce_event_contributions) through the standard schema-change workflow.

Acceptance criteria

  • The ce_event_contributions table gets a new cec_references_delta column (SMALLINT, nullable, DEFAULT NULL).
  • The column is created in beta and in production

Checklist

Event Timeline

cmelo renamed this task from Add the `cec_references_delta` column to `ce_event_contributions` to Add the cec_references_delta column to ce_event_contributions.Apr 15 2026, 9:22 AM

Change #1248815 had a related patch set uploaded (by Cmelo; author: Cmelo):

[mediawiki/extensions/CampaignEvents@master] New column for references delta in ce_event_contributions

https://gerrit.wikimedia.org/r/1248815

@cmelo The checklist you copied in the task description is for creating new tables, not the one for schema changes. You can see examples of that one in T408460 and T402816 and then update this task. For the time being, I have reviewed the schema patch and I think it's ready for DBA review.

cmelo updated the task description. (Show Details)

@cmelo The checklist you copied in the task description is for creating new tables, not the one for schema changes. You can see examples of that one in T408460 and T402816 and then update this task. For the time being, I have reviewed the schema patch and I think it's ready for DBA review.

Thank you!

Tagging DBA for preliminary review of the schema change (it's quite trivial but still).

Change #1248815 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] New column for references delta in ce_event_contributions

https://gerrit.wikimedia.org/r/1248815

Daimona updated the task description. (Show Details)