summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-job_token.sql
blob: 080fa97cd5d5941da438f6977f8eb3122cd01680 (plain)
1
2
3
4
5
6
7
8
9
ALTER TABLE /*_*/job
    ADD COLUMN job_random integer unsigned NOT NULL default 0,
    ADD COLUMN job_token varbinary(32) NOT NULL default '',
    ADD COLUMN job_token_timestamp varbinary(14) NULL default NULL,
    ADD COLUMN job_sha1 varbinary(32) NOT NULL default '';

CREATE INDEX /*i*/job_sha1 ON /*_*/job (job_sha1);
CREATE INDEX /*i*/job_cmd_token ON /*_*/job (job_cmd,job_token,job_random);