mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-24 01:04:21 +01:00
automation
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user