Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

upgrade-64.sql
-- Index more exactly what the latest-finished query looks for.
create index IndexFinishedSuccessfulBuilds
  on Builds(id DESC, buildstatus, finished, job, jobset_id)
  where buildstatus = 0 and finished = 1;