@zq-silk/yui 0.12.1 → 0.12.2
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.
|
@@ -37,6 +37,10 @@ export const TELEMETRY_RUN_CAP = 50_000;
|
|
|
37
37
|
* `synchronous`/`foreign_keys`/`busy_timeout` are per-connection PRAGMAs set by
|
|
38
38
|
* the store; `journal_mode=WAL` is a persistent database property set on open.
|
|
39
39
|
* The migration itself only contains schema objects.
|
|
40
|
+
*
|
|
41
|
+
* This released SQL string, including its comments, is checksummed persistent
|
|
42
|
+
* history and must remain byte-for-byte unchanged. The `operator-notification`
|
|
43
|
+
* projection kind it creates is retained only for old layout-7 Homes.
|
|
40
44
|
*/
|
|
41
45
|
const MIGRATION_1_SQL = `
|
|
42
46
|
-- Global catalog and coordination (§4.1) -------------------------------------
|
|
@@ -327,8 +331,7 @@ CREATE TABLE IF NOT EXISTS events (
|
|
|
327
331
|
);
|
|
328
332
|
CREATE INDEX IF NOT EXISTS idx_events_type_time ON events(task_id, type, occurred_at);
|
|
329
333
|
|
|
330
|
-
-- Per-task scheduler projections
|
|
331
|
-
-- kind retained only so old layout-7 Homes can be read by the upgrade path.
|
|
334
|
+
-- Per-task scheduler projections (leaderFailure, operatorNotification).
|
|
332
335
|
CREATE TABLE IF NOT EXISTS task_projections (
|
|
333
336
|
task_id TEXT NOT NULL,
|
|
334
337
|
kind TEXT NOT NULL CHECK (kind IN ('leader-failure','operator-notification')),
|