@makaio/storage-pg 1.0.0-dev-1783370124483 → 1.0.0-dev-1783977266352

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 @@
1
+ ALTER TABLE "sessions" ADD COLUMN "machine_id" text;
@@ -0,0 +1 @@
1
+ ALTER TABLE "workflow_executions" ADD COLUMN "external_settlement_fingerprint" text;
@@ -0,0 +1 @@
1
+ ALTER TABLE "workflow_executions" ADD COLUMN "external_registration_frame_id" text;
@@ -0,0 +1,16 @@
1
+ CREATE TABLE "workflow_finalizations" (
2
+ "execution_id" text PRIMARY KEY NOT NULL,
3
+ "workflow_id" text NOT NULL,
4
+ "finalizer_id" text NOT NULL,
5
+ "transition_key" text NOT NULL,
6
+ "claim_token" text NOT NULL,
7
+ "intent" jsonb NOT NULL,
8
+ "state" text NOT NULL,
9
+ "claimed_at" bigint NOT NULL,
10
+ "settled_at" bigint,
11
+ "failure" text
12
+ );
13
+ --> statement-breakpoint
14
+ ALTER TABLE "workflow_finalizations" ADD CONSTRAINT "workflow_finalizations_execution_id_workflow_executions_id_fk" FOREIGN KEY ("execution_id") REFERENCES "workflow_executions"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
15
+ CREATE UNIQUE INDEX "uniq_workflow_finalizations_transition" ON "workflow_finalizations" USING btree ("transition_key");--> statement-breakpoint
16
+ CREATE INDEX "idx_workflow_finalizations_recovery" ON "workflow_finalizations" USING btree ("finalizer_id","state");
@@ -0,0 +1 @@
1
+ ALTER TABLE "workflow_definitions" ADD COLUMN "success_finalizer_id" text;
@@ -0,0 +1 @@
1
+ ALTER TABLE "workflow_finalizations" ADD COLUMN "published_at" bigint;
@@ -0,0 +1 @@
1
+ ALTER TABLE "workflow_run_contexts" ADD COLUMN "terminal_authority" text;
@@ -92,6 +92,55 @@
92
92
  "when": 1783298912063,
93
93
  "tag": "0012_m_mr8i4ky3",
94
94
  "breakpoints": true
95
+ },
96
+ {
97
+ "idx": 13,
98
+ "version": "7",
99
+ "when": 1783356371013,
100
+ "tag": "0013_m_mr9gc37m",
101
+ "breakpoints": true
102
+ },
103
+ {
104
+ "idx": 14,
105
+ "version": "7",
106
+ "when": 1783646191230,
107
+ "tag": "0014_external_settlement_fingerprint",
108
+ "breakpoints": true
109
+ },
110
+ {
111
+ "idx": 15,
112
+ "version": "7",
113
+ "when": 1783674662813,
114
+ "tag": "0015_external_registration_frame",
115
+ "breakpoints": true
116
+ },
117
+ {
118
+ "idx": 16,
119
+ "version": "7",
120
+ "when": 1783805097271,
121
+ "tag": "0016_m_mrgvhv3n",
122
+ "breakpoints": true
123
+ },
124
+ {
125
+ "idx": 17,
126
+ "version": "7",
127
+ "when": 1783805982891,
128
+ "tag": "0017_m_mrgw0uzg",
129
+ "breakpoints": true
130
+ },
131
+ {
132
+ "idx": 18,
133
+ "version": "7",
134
+ "when": 1783807628125,
135
+ "tag": "0018_m_mrgx04i1",
136
+ "breakpoints": true
137
+ },
138
+ {
139
+ "idx": 19,
140
+ "version": "7",
141
+ "when": 1783825707353,
142
+ "tag": "0019_terminal-authority",
143
+ "breakpoints": true
95
144
  }
96
145
  ]
97
146
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@makaio/storage-pg",
3
3
  "description": "Postgres storage engine for the Makaio framework: driver glue, error classification, and migration behavior registered through the storage engine seam.",
4
- "version": "1.0.0-dev-1783370124483",
4
+ "version": "1.0.0-dev-1783977266352",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",
@@ -29,30 +29,16 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "drizzle-orm": "0.45.2",
32
- "pg": "^8.21.0"
32
+ "pg": "^8.22.0"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "@makaio/framework": ">=1.0.0-0 <2.0.0"
36
36
  },
37
- "devDependencies": {
38
- "@makaio/build-tooling": "1.0.0",
39
- "@makaio/storage-drizzle": "1.0.0",
40
- "@types/node": "^24.3.0",
41
- "drizzle-kit": "^0.31.8",
42
- "tsdown": "0.22.0",
43
- "tsx": "^4.22.4",
44
- "typescript": "^6.0.3"
45
- },
37
+ "license": "MIT",
38
+ "private": false,
39
+ "main": "dist/index.mjs",
40
+ "types": "dist/index.d.ts",
46
41
  "publishConfig": {
47
- "access": "public",
48
- "directory": "node_modules/.makaio-publish",
49
- "exports": {
50
- ".": {
51
- "types": "./dist/index.d.ts",
52
- "default": "./dist/index.mjs"
53
- },
54
- "./package.json": "./package.json"
55
- }
56
- },
57
- "license": "MIT"
58
- }
42
+ "access": "public"
43
+ }
44
+ }