events.sources has no ID column: its primary key is (org_id, name), and the name is also the webhook path. These columns store the source name as text, with no foreign key: events.events.source, events.event_types.source, events.triggers.source, events.groups.source, events.mappings.source_hint and drafts.drafts.source. A source already has a separate display_name, so name serves only as the key and the webhook path.
Done when
events.sources has a UUID primary key that the tables above reference. The webhook path is a separate unique column that can be changed without touching stored events, event types or triggers.
`events.sources` has no ID column: its primary key is `(org_id, name)`, and the name is also the webhook path. These columns store the source name as text, with no foreign key: `events.events.source`, `events.event_types.source`, `events.triggers.source`, `events.groups.source`, `events.mappings.source_hint` and `drafts.drafts.source`. A source already has a separate `display_name`, so `name` serves only as the key and the webhook path.
## Done when
`events.sources` has a UUID primary key that the tables above reference. The webhook path is a separate unique column that can be changed without touching stored events, event types or triggers.
sam
added the bughigh labels 2026-11-23 13:13:56 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
events.sourceshas no ID column: its primary key is(org_id, name), and the name is also the webhook path. These columns store the source name as text, with no foreign key:events.events.source,events.event_types.source,events.triggers.source,events.groups.source,events.mappings.source_hintanddrafts.drafts.source. A source already has a separatedisplay_name, sonameserves only as the key and the webhook path.Done when
events.sourceshas a UUID primary key that the tables above reference. The webhook path is a separate unique column that can be changed without touching stored events, event types or triggers.Completed in
30aa351eb(merged in0d25c93ea).