@byline/db-postgres 1.11.1 → 1.12.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.
@@ -20,7 +20,7 @@ import { bigint, boolean, customType, date, decimal, index, integer, jsonb, pgTa
20
20
  *
21
21
  * Captured here (rather than only in a hand-written migration) so future
22
22
  * regenerations from this schema reproduce the COLLATE clause cleanly.
23
- * See migration `0003_order_key_byte_collation.sql` and `docs/ORDERABLE.md`.
23
+ * See migration `0003_order_key_byte_collation.sql` and `docs/COLLECTIONS.md` (Orderable collections).
24
24
  */
25
25
  const varcharByteSorted = customType({
26
26
  dataType(config) {
@@ -61,7 +61,7 @@ export const documents = pgTable('byline_documents', {
61
61
  //
62
62
  // Uses `varcharByteSorted` (COLLATE "C") so DB ordering matches JS string
63
63
  // comparison — the fractional-index algorithm requires this. See
64
- // `varcharByteSorted` above and docs/ORDERABLE.md.
64
+ // `varcharByteSorted` above and docs/COLLECTIONS.md (Orderable collections).
65
65
  order_key: varcharByteSorted('order_key', { length: 128 }),
66
66
  created_at: timestamp('created_at').defaultNow(),
67
67
  updated_at: timestamp('updated_at').defaultNow(),
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@byline/db-postgres",
3
3
  "private": false,
4
4
  "license": "MPL-2.0",
5
- "version": "1.11.1",
5
+ "version": "1.12.0",
6
6
  "engines": {
7
7
  "node": ">=20.9.0"
8
8
  },
@@ -52,9 +52,9 @@
52
52
  "pg": "^8.20.0",
53
53
  "uuid": "^14.0.0",
54
54
  "zod": "^4.4.3",
55
- "@byline/core": "1.11.1",
56
- "@byline/auth": "1.11.1",
57
- "@byline/admin": "1.11.1"
55
+ "@byline/admin": "1.12.0",
56
+ "@byline/auth": "1.12.0",
57
+ "@byline/core": "1.12.0"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@biomejs/biome": "2.4.15",
@@ -74,7 +74,7 @@
74
74
  "scripts": {
75
75
  "dev": "chokidar 'src/**/*' -c 'npm-run-all build'",
76
76
  "build": "tsc -p tsconfig.json && tsc-alias",
77
- "clean": "rimraf node_modules dist build .turbo",
77
+ "clean": "node scripts/clean.js node_modules dist build .turbo",
78
78
  "lint": "biome check --write --unsafe --diagnostic-level=error",
79
79
  "skip": "tsx ./scripts/task-watch.js",
80
80
  "db:init": "cd src/database && ./db_init.sh",