feat(commission) : add push notifications and unread ticket titles
This commit is contained in:
@@ -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
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user