feat(commission) : add push notifications and unread ticket titles
CI / Verify (push) Successful in 1m48s
CI / Build immutable images and deploy (push) Successful in 2m47s

This commit is contained in:
2026-10-02 11:51:05 +07:00 Unverified
parent bb5c571837
commit 3473b55768
27 changed files with 4480 additions and 24 deletions
+11
View File
@@ -0,0 +1,11 @@
CREATE TABLE "commission"."push_subscription" (
"endpoint" text PRIMARY KEY NOT NULL,
"user_id" text NOT NULL,
"scope" varchar(8) NOT NULL,
"p256dh" text NOT NULL,
"auth" text NOT NULL,
"created_at" timestamp with time zone DEFAULT now() NOT NULL
);
--> statement-breakpoint
ALTER TABLE "commission"."push_subscription" ADD CONSTRAINT "push_subscription_user_id_user_id_fk" FOREIGN KEY ("user_id") REFERENCES "auth"."user"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
CREATE INDEX "commission_push_subscription_user_idx" ON "commission"."push_subscription" USING btree ("user_id");
File diff suppressed because it is too large Load Diff
+7
View File
@@ -477,6 +477,13 @@
"when": 1790863872049,
"tag": "0067_nervous_psylocke",
"breakpoints": true
},
{
"idx": 68,
"version": "7",
"when": 1790915901646,
"tag": "0068_concerned_union_jack",
"breakpoints": true
}
]
}