@spfn/notification 0.1.0-beta.6 → 0.1.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- CREATE SCHEMA "spfn_notification";
1
+ CREATE SCHEMA IF NOT EXISTS "spfn_notification";
2
2
  --> statement-breakpoint
3
- CREATE TABLE "spfn_notification"."history" (
3
+ CREATE TABLE IF NOT EXISTS "spfn_notification"."history" (
4
4
  "id" bigserial PRIMARY KEY NOT NULL,
5
5
  "channel" text NOT NULL,
6
6
  "recipient" text NOT NULL,
@@ -22,11 +22,11 @@ CREATE TABLE "spfn_notification"."history" (
22
22
  "updated_at" timestamp with time zone DEFAULT now() NOT NULL
23
23
  );
24
24
  --> statement-breakpoint
25
- CREATE INDEX "noti_channel_idx" ON "spfn_notification"."history" USING btree ("channel");--> statement-breakpoint
26
- CREATE INDEX "noti_status_idx" ON "spfn_notification"."history" USING btree ("status");--> statement-breakpoint
27
- CREATE INDEX "noti_recipient_idx" ON "spfn_notification"."history" USING btree ("recipient");--> statement-breakpoint
28
- CREATE INDEX "noti_created_at_idx" ON "spfn_notification"."history" USING btree ("created_at");--> statement-breakpoint
29
- CREATE INDEX "noti_scheduled_at_idx" ON "spfn_notification"."history" USING btree ("scheduled_at");--> statement-breakpoint
30
- CREATE INDEX "noti_job_id_idx" ON "spfn_notification"."history" USING btree ("job_id");--> statement-breakpoint
31
- CREATE INDEX "noti_batch_id_idx" ON "spfn_notification"."history" USING btree ("batch_id");--> statement-breakpoint
32
- CREATE INDEX "noti_reference_idx" ON "spfn_notification"."history" USING btree ("reference_type","reference_id");
25
+ CREATE INDEX IF NOT EXISTS "noti_channel_idx" ON "spfn_notification"."history" USING btree ("channel");--> statement-breakpoint
26
+ CREATE INDEX IF NOT EXISTS "noti_status_idx" ON "spfn_notification"."history" USING btree ("status");--> statement-breakpoint
27
+ CREATE INDEX IF NOT EXISTS "noti_recipient_idx" ON "spfn_notification"."history" USING btree ("recipient");--> statement-breakpoint
28
+ CREATE INDEX IF NOT EXISTS "noti_created_at_idx" ON "spfn_notification"."history" USING btree ("created_at");--> statement-breakpoint
29
+ CREATE INDEX IF NOT EXISTS "noti_scheduled_at_idx" ON "spfn_notification"."history" USING btree ("scheduled_at");--> statement-breakpoint
30
+ CREATE INDEX IF NOT EXISTS "noti_job_id_idx" ON "spfn_notification"."history" USING btree ("job_id");--> statement-breakpoint
31
+ CREATE INDEX IF NOT EXISTS "noti_batch_id_idx" ON "spfn_notification"."history" USING btree ("batch_id");--> statement-breakpoint
32
+ CREATE INDEX IF NOT EXISTS "noti_reference_idx" ON "spfn_notification"."history" USING btree ("reference_type","reference_id");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spfn/notification",
3
- "version": "0.1.0-beta.6",
3
+ "version": "0.1.0-beta.7",
4
4
  "type": "module",
5
5
  "description": "Multi-channel notification system for SPFN - Email, SMS, Slack, Push",
6
6
  "exports": {