@workflow/world-postgres 5.0.0-beta.13 → 5.0.0-beta.15
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/dist/drizzle/schema.d.ts +2 -2
- package/dist/drizzle/schema.d.ts.map +1 -1
- package/dist/drizzle/schema.js +5 -4
- package/dist/storage.d.ts.map +1 -1
- package/dist/storage.js +207 -57
- package/package.json +5 -5
- package/src/drizzle/migrations/0014_add_attr_set_event_unique_index.sql +5 -0
- package/src/drizzle/migrations/meta/_journal.json +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workflow/world-postgres",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.15",
|
|
4
4
|
"description": "A reference World implementation based on PostgreSQL",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"./migrations/*.sql": "./src/drizzle/migrations/*.sql"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@vercel/queue": "0.3.
|
|
40
|
+
"@vercel/queue": "0.3.1",
|
|
41
41
|
"cbor-x": "1.6.0",
|
|
42
42
|
"dotenv": "17.3.1",
|
|
43
43
|
"drizzle-orm": "0.45.2",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"zod": "4.3.6",
|
|
48
48
|
"@workflow/errors": "5.0.0-beta.7",
|
|
49
49
|
"@workflow/utils": "5.0.0-beta.3",
|
|
50
|
-
"@workflow/world": "5.0.0-beta.
|
|
51
|
-
"@workflow/world-local": "5.0.0-beta.
|
|
50
|
+
"@workflow/world": "5.0.0-beta.10",
|
|
51
|
+
"@workflow/world-local": "5.0.0-beta.17"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@testcontainers/postgresql": "11.12.0",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"vitest": "^4.0.18",
|
|
59
59
|
"@workflow/errors": "5.0.0-beta.7",
|
|
60
60
|
"@workflow/tsconfig": "5.0.0-beta.0",
|
|
61
|
-
"@workflow/world-testing": "5.0.0-beta.
|
|
61
|
+
"@workflow/world-testing": "5.0.0-beta.16"
|
|
62
62
|
},
|
|
63
63
|
"keywords": [],
|
|
64
64
|
"author": "",
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
DROP INDEX IF EXISTS "workflow"."workflow_events_entity_creation_unique";
|
|
2
|
+
|
|
3
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "workflow_events_entity_creation_unique"
|
|
4
|
+
ON "workflow"."workflow_events" ("run_id", "correlation_id", "type")
|
|
5
|
+
WHERE "type" IN ('step_created', 'hook_created', 'wait_created', 'attr_set');
|
|
@@ -99,6 +99,13 @@
|
|
|
99
99
|
"when": 1779609600000,
|
|
100
100
|
"tag": "0013_add_attributes",
|
|
101
101
|
"breakpoints": true
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"idx": 14,
|
|
105
|
+
"version": "7",
|
|
106
|
+
"when": 1780185600000,
|
|
107
|
+
"tag": "0014_add_attr_set_event_unique_index",
|
|
108
|
+
"breakpoints": true
|
|
102
109
|
}
|
|
103
110
|
]
|
|
104
111
|
}
|