Page MenuHomePhabricator

Create new participant questions columns in beta DB
Closed, ResolvedPublic

Description

Acceptance criteria

  • The new columns from T339982 and T337768 are created in beta wikishared.

Checklist

  • Connect via SSH
  • Log in #wikimedia-releng: !log Adding new columns for the CampaignEvents extension in beta wikishared # T340694
  • Then run the following command:
$ sql wikishared --write
ALTER TABLE ce_participants
ADD COLUMN cep_first_answer_timestamp BINARY(14) DEFAULT NULL,
ADD COLUMN cep_aggregation_timestamp BINARY(14) DEFAULT NULL;

ALTER TABLE ce_organizers
ADD COLUMN ceo_agreement_timestamp BINARY(14) DEFAULT NULL;

Event Timeline

Mentioned in SAL (#wikimedia-releng) [2023-06-29T15:20:00Z] <Daimona> Adding new columns for the CampaignEvents extension in beta wikishared # T340694

The table definition is actually wrong -- the index should not be on cep_aggregation_timestamp. I will fix this in the code and then proceed with this task.

Mentioned in SAL (#wikimedia-releng) [2023-07-04T14:42:15Z] <Daimona> Adding new columns for the CampaignEvents extension in beta wikishared # T340694