Add patch to set wl_notificationtimestamp BINARY(14)

This is follow up to Ie996b81ca59 that changed type of this field from
varbinary(14) to binary(14) as part of standardizing timestamp fields
but didn't add the patch.

Bug: T230428
Bug: T42626
Change-Id: I554899f729594c7064633459ab5a6be48920e131
This commit is contained in:
Amir Sarabadani 2020-11-21 23:47:34 +01:00
parent 40ebc05ce4
commit 01d8de358f
2 changed files with 3 additions and 0 deletions

View file

@ -469,6 +469,7 @@ class MysqlUpdater extends DatabaseUpdater {
[ 'modifyField', 'job', 'job_title', 'patch-job-job_title-varbinary.sql' ],
[ 'modifyField', 'job', 'job_timestamp', 'patch-job_job_timestamp.sql' ],
[ 'modifyField', 'job', 'job_token_timestamp', 'patch-job_job_token_timestamp.sql' ],
[ 'modifyField', 'watchlist', 'wl_notificationtimestamp', 'patch-watchlist-wl_notificationtimestamp.sql' ],
];
}

View file

@ -0,0 +1,2 @@
ALTER TABLE /*_*/watchlist
MODIFY wl_notificationtimestamp BINARY(14) DEFAULT NULL;