@axiom-lattice/pg-stores 1.0.84 → 1.0.85
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 +10 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/migrations/migration.ts +9 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @axiom-lattice/pg-stores@1.0.
|
|
2
|
+
> @axiom-lattice/pg-stores@1.0.85 build /home/runner/work/agentic/agentic/packages/pg-stores
|
|
3
3
|
> tsup src/index.ts --format cjs,esm --dts --sourcemap
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
[34mCLI[39m Target: es2020
|
|
9
9
|
[34mCJS[39m Build start
|
|
10
10
|
[34mESM[39m Build start
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
11
|
+
[32mCJS[39m [1mdist/index.js [22m[32m248.30 KB[39m
|
|
12
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m465.09 KB[39m
|
|
13
|
+
[32mCJS[39m ⚡️ Build success in 632ms
|
|
14
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m242.49 KB[39m
|
|
15
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m464.90 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 657ms
|
|
17
17
|
[34mDTS[39m Build start
|
|
18
|
-
[32mDTS[39m ⚡️ Build success in
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 16627ms
|
|
19
19
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m57.13 KB[39m
|
|
20
20
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m57.13 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @axiom-lattice/pg-stores
|
|
2
2
|
|
|
3
|
+
## 1.0.85
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c8749a0: fix pg store
|
|
8
|
+
- 2954442: fix issue
|
|
9
|
+
- Updated dependencies [2954442]
|
|
10
|
+
- @axiom-lattice/core@2.1.94
|
|
11
|
+
- @axiom-lattice/protocols@2.1.48
|
|
12
|
+
|
|
3
13
|
## 1.0.84
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -153,6 +153,11 @@ var MigrationManager = class {
|
|
|
153
153
|
const pkColumn = pkCheck.rows[0]?.column_name;
|
|
154
154
|
const constraintName = pkCheck.rows[0]?.constraint_name;
|
|
155
155
|
if (pkColumn === "version" && constraintName) {
|
|
156
|
+
await client.query(`
|
|
157
|
+
DELETE FROM lattice_schema_migrations a
|
|
158
|
+
USING lattice_schema_migrations b
|
|
159
|
+
WHERE a.name = b.name AND a.version < b.version
|
|
160
|
+
`);
|
|
156
161
|
await client.query(
|
|
157
162
|
`ALTER TABLE lattice_schema_migrations DROP CONSTRAINT ${constraintName}`
|
|
158
163
|
);
|