@volter/teams 0.1.58 → 0.1.59

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/teams",
3
- "version": "0.1.58",
3
+ "version": "0.1.59",
4
4
  "type": "module",
5
5
  "description": "Volter Teams, the neutral team plane: machine identity and daemon core, the local door and server link, admission from machine grants, product doors, and the Teams server's neutral routes (company RFC 0008).",
6
6
  "license": "MIT",
@@ -0,0 +1,5 @@
1
+ // A carried-prefix scan must seek by ordinal rather than rescan every retained
2
+ // version for every message. Includes revision for the temporal row predicate.
3
+ export default `
4
+ CREATE INDEX messages_ordinal_version ON messages(team_id,session_id,ordinal,revision);
5
+ `;
@@ -10,7 +10,8 @@ import m008 from './008.mjs';
10
10
  import m009 from './009.mjs';
11
11
  import m010 from './010.mjs';
12
12
  import m011 from './011.mjs';
13
- export const MIGRATIONS = [m001, m002, m003, m004, m005, m006, m007, m008, m009, m010, m011];
13
+ import m012 from './012.mjs';
14
+ export const MIGRATIONS = [m001, m002, m003, m004, m005, m006, m007, m008, m009, m010, m011, m012];
14
15
  /** A message row's `until_revision` while its session's current version still holds it (schema 9). */
15
16
  export const OPEN_REVISION = Number.MAX_SAFE_INTEGER;
16
17
  /** SQL: message row `m` belongs to the version at revision ?1 (bind the revision twice). */