feat(store): available ref, update mode and services-by-repo for the webhook (#8)

This commit is contained in:
2026-10-12 20:40:04 +02:00
parent 417ef315c2
commit cfc6ea6713
6 changed files with 240 additions and 15 deletions
@@ -0,0 +1,6 @@
ALTER TABLE services ADD COLUMN available_ref text NOT NULL DEFAULT '';
ALTER TABLE services ADD COLUMN available_source text NOT NULL DEFAULT ''
CHECK (available_source IN ('', 'webhook', 'poll'));
ALTER TABLE services ADD COLUMN available_at timestamptz;
CREATE INDEX services_by_image_repo ON services (image_repo) WHERE removed_at IS NULL;