mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 00:02:41 +01:00
12 lines
371 B
MySQL
12 lines
371 B
MySQL
|
ALTER TABLE {$NAMESPACE}_worker.worker_activetask
|
||
|
ADD COLUMN priority int unsigned NOT NULL;
|
||
|
|
||
|
ALTER TABLE {$NAMESPACE}_worker.worker_activetask
|
||
|
ADD KEY (leaseOwner, priority, id);
|
||
|
|
||
|
ALTER TABLE {$NAMESPACE}_worker.worker_archivetask
|
||
|
ADD COLUMN priority int unsigned NOT NULL;
|
||
|
|
||
|
ALTER TABLE {$NAMESPACE}_worker.worker_archivetask
|
||
|
ADD KEY (leaseOwner, priority, id);
|