@fabrika/db 0.9.0-dev.22 → 0.9.0-dev.23

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/codegen.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabrika/db",
3
- "version": "0.9.0-dev.22",
3
+ "version": "0.9.0-dev.23",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -92,9 +92,9 @@
92
92
  "test": "bun test"
93
93
  },
94
94
  "dependencies": {
95
- "@fabrika/auth-core": "0.9.0-dev.22",
96
- "@fabrika/platform": "0.9.0-dev.22",
97
- "@fabrika/platform-node": "0.9.0-dev.22",
95
+ "@fabrika/auth-core": "0.9.0-dev.23",
96
+ "@fabrika/platform": "0.9.0-dev.23",
97
+ "@fabrika/platform-node": "0.9.0-dev.23",
98
98
  "kysely": "0.29.6",
99
99
  "kysely-postgres-js": "5.0.1",
100
100
  "zod": "^3.25.76"
package/src/codegen.ts CHANGED
@@ -167,7 +167,7 @@ export async function introspectCatalog(url: string, schema: string, objects: re
167
167
  if (!Array.isArray(namespaces) || namespaces.length === 0) {
168
168
  throw new CodegenError(`schema ${schema} does not exist; run fabrika db migrate first`)
169
169
  }
170
- // The migration runner's own pre-commit check, so an object created outside a migration fails every start.
170
+ // The migration runner's own pre-commit check, so an object created outside a migration fails the check.
171
171
  const code = z.array(z.object({ violation: z.string() })).parse(await tx.unsafe(databaseCodeQuery(schema, objects)))
172
172
  if (code.length > 0) {
173
173
  throw new CodegenError(