Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

7 linesCodeBlameRaw
1-- Issues became work items (g1t #57): cards kept about one are about a
2-- work item now, and a draft of one is a draft work item.
3UPDATE messages SET card = json_set(card, '$.kind', 'work_item')
4WHERE kind = 'card' AND json_valid(card) AND json_extract(card, '$.kind') = 'issue';
5
6UPDATE messages SET card = json_set(card, '$.kind', 'draft_work_item')
7WHERE kind = 'card' AND json_valid(card) AND json_extract(card, '$.kind') = 'draft_issue';