@yeyo11/shipcast 0.3.0-rc.0 → 0.3.0

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.
@@ -0,0 +1,4 @@
1
+ -- The one agreed exception to additive-only migrations (docs/decisions/launch-model.md, phase 8):
2
+ -- the drafts snapshot of the pull-request path, which nothing writes or reads since phase 8.
3
+ -- Dropped at the owner's decision on 2026-11-02, with no pg_dump step: he keeps his own backups.
4
+ DROP TABLE "draft_snapshots" CASCADE;
@@ -0,0 +1,14 @@
1
+ CREATE TABLE "push_subscriptions" (
2
+ "id" integer PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY (sequence name "push_subscriptions_id_seq" INCREMENT BY 1 MINVALUE 1 MAXVALUE 2147483647 START WITH 1 CACHE 1),
3
+ "login" text NOT NULL,
4
+ "endpoint" text NOT NULL,
5
+ "p256dh" text NOT NULL,
6
+ "auth" text NOT NULL,
7
+ "label" text NOT NULL,
8
+ "events" jsonb DEFAULT '{}'::jsonb NOT NULL,
9
+ "created_at" text DEFAULT to_char(statement_timestamp() AT TIME ZONE 'UTC', 'YYYY-MM-DD"T"HH24:MI:SS.MS"Z"') NOT NULL,
10
+ "last_success_at" text,
11
+ "last_failure_at" text,
12
+ "last_failure" text,
13
+ CONSTRAINT "push_subscriptions_endpoint" UNIQUE("endpoint")
14
+ );