Changeset View
Changeset View
Standalone View
Standalone View
resources/sql/patches/liskcounters.php
| <?php | <?php | ||||
| // Switch PhabricatorWorkerActiveTask from autoincrement IDs to counter IDs. | // Switch PhabricatorWorkerActiveTask from auto-increment IDs to counter IDs. | ||||
| // Set the initial counter ID to be larger than any known task ID. | // Set the initial counter ID to be larger than any known task ID. | ||||
| $active_table = new PhabricatorWorkerActiveTask(); | $active_table = new PhabricatorWorkerActiveTask(); | ||||
| $archive_table = new PhabricatorWorkerArchiveTask(); | $archive_table = new PhabricatorWorkerArchiveTask(); | ||||
| $old_table = 'worker_task'; | $old_table = 'worker_task'; | ||||
| $conn_w = $active_table->establishConnection('w'); | $conn_w = $active_table->establishConnection('w'); | ||||
| Show All 29 Lines | |||||