Summary
Per T411821, once T411788: Suggested investigations: Replace 'Created' timestamp column with 'Updated' timestamp column in table pager is completed we should drop the default on the sic_updated_timestamp column and remove the indexes on sic_created_timestamp
Proposed schema changes
After the column is appropriately populated (using the current values of sic_created_timestamp), then remove the default from sic_updated_timestamp:
> describe cusi_case; +-----------------------+---------------------+------+-----+----------------+----------------+ | Field | Type | Null | Key | Default | Extra | +-----------------------+---------------------+------+-----+----------------+----------------+ | sic_id | int(10) unsigned | NO | PRI | NULL | auto_increment | ... | sic_updated_timestamp | binary(14) | NO | MUL | NULL | | +-----------------------+---------------------+------+-----+----------------+----------------+
Also drop any index with sic_created_timestamp in it from the cusi_case table
Acceptance criteria
- The schema changes above have been merged into the master branch of the CheckUser
- A Schema-change-in-production ticket is filed to make these changes on WMF wikis, only to be done once T411788: Suggested investigations: Replace 'Created' timestamp column with 'Updated' timestamp column in table pager is completed and stably deployed everywhere