@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.
- package/drizzle-postgres/0013_m_mr9gc37m.sql +1 -0
- package/drizzle-postgres/0014_external_settlement_fingerprint.sql +1 -0
- package/drizzle-postgres/0015_external_registration_frame.sql +1 -0
- package/drizzle-postgres/0016_m_mrgvhv3n.sql +16 -0
- package/drizzle-postgres/0017_m_mrgw0uzg.sql +1 -0
- package/drizzle-postgres/0018_m_mrgx04i1.sql +1 -0
- package/drizzle-postgres/0019_terminal-authority.sql +1 -0
- package/drizzle-postgres/meta/_journal.json +49 -0
- package/package.json +9 -23
- package/drizzle-postgres/meta/0000_snapshot.json +0 -3323
- package/drizzle-postgres/meta/0001_snapshot.json +0 -3348
- package/drizzle-postgres/meta/0002_snapshot.json +0 -3387
- package/drizzle-postgres/meta/0003_snapshot.json +0 -3407
- package/drizzle-postgres/meta/0004_snapshot.json +0 -3422
- package/drizzle-postgres/meta/0005_snapshot.json +0 -3428
- package/drizzle-postgres/meta/0006_snapshot.json +0 -3434
- package/drizzle-postgres/meta/0007_snapshot.json +0 -3440
- package/drizzle-postgres/meta/0008_snapshot.json +0 -3546
- package/drizzle-postgres/meta/0009_snapshot.json +0 -3552
- package/drizzle-postgres/meta/0010_snapshot.json +0 -3558
- package/drizzle-postgres/meta/0011_snapshot.json +0 -3591
- package/drizzle-postgres/meta/0012_snapshot.json +0 -3597
|
@@ -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-
|
|
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.
|
|
32
|
+
"pg": "^8.22.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@makaio/framework": ">=1.0.0-0 <2.0.0"
|
|
36
36
|
},
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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
|
-
|
|
49
|
-
|
|
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
|
+
}
|