@axiom-lattice/pg-stores 4.1.0 → 5.0.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.
- package/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +55 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -6
- package/src/createPgStoreConfig.ts +5 -3
package/dist/index.mjs
CHANGED
|
@@ -14722,9 +14722,11 @@ async function createPgStoreConfig(connectionString) {
|
|
|
14722
14722
|
mm.register(addShareKind);
|
|
14723
14723
|
await mm.migrate();
|
|
14724
14724
|
const checkpoint = PostgresSaver.fromConnString(connectionString);
|
|
14725
|
-
|
|
14725
|
+
try {
|
|
14726
|
+
await checkpoint.setup();
|
|
14727
|
+
} catch (err) {
|
|
14726
14728
|
console.error("[pg-stores] Failed to setup checkpoint table:", err.message || err);
|
|
14727
|
-
}
|
|
14729
|
+
}
|
|
14728
14730
|
const opts = { pool };
|
|
14729
14731
|
const taskWorkItemStore = new PostgreSQLTaskWorkItemStore(pool);
|
|
14730
14732
|
return {
|