automation

This commit is contained in:
2023-08-18 17:02:53 +02:00
commit 33b7e1dd6d
119 changed files with 13464 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
CREATE TABLE public.notification_subscriptions (
id bigserial primary key,
pubkey bytea NOT NULL,
url varchar NOT NULL,
created_at bigint NOT NULL,
refreshed_at bigint NOT NULL
);
CREATE INDEX notification_subscriptions_pubkey_idx ON public.notification_subscriptions (pubkey);
CREATE UNIQUE INDEX notification_subscriptions_pubkey_url_key ON public.notification_subscriptions (pubkey, url);