From 9ee674523be50ec9f3ddc6b22d11212493a4e13a Mon Sep 17 00:00:00 2001 From: Dotta Date: Wed, 28 Oct 2026 16:54:33 -0500 Subject: [PATCH] chore(db): regenerate skill package migration on current master Co-Authored-By: Paperclip --- doc/DATABASE.md | 2 +- doc/skill-package-storage.md | 2 +- .../{0401_icy_sister_grimm.sql => 0402_empty_overlord.sql} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename packages/db/src/migrations/{0401_icy_sister_grimm.sql => 0402_empty_overlord.sql} (100%) diff --git a/doc/DATABASE.md b/doc/DATABASE.md index d289c193ef9..dcf4e48f5d3 100644 --- a/doc/DATABASE.md +++ b/doc/DATABASE.md @@ -1256,7 +1256,7 @@ transaction boundary. `company_skill_repository_snapshots` retains its identity and company/content-hash uniqueness. Despite its historical name, it can also hold editable skill packages. -Migration 0401 (`0401_icy_sister_grimm.sql`) adds `storage` (archive/manifest receipts) and `upload` (a bounded +Migration 0402 (`0402_empty_overlord.sql`) adds `storage` (archive/manifest receipts) and `upload` (a bounded pending attempt). `file_inventory` remains the legacy payload, defaulting to `[]`. `company_skill_versions.package_snapshot_id` and `package_file_map` preserve the public version file inventory without storing its contents again. Existing repository diff --git a/doc/skill-package-storage.md b/doc/skill-package-storage.md index e63af366628..c6c61cb720c 100644 --- a/doc/skill-package-storage.md +++ b/doc/skill-package-storage.md @@ -10,7 +10,7 @@ locally authored/edited packages and unproven legacy packages keep a durable cop ## Automatic upgrade No data-migration command is required. The normal schema upgrade applies migration -0401 (`0401_icy_sister_grimm.sql`). External writes and automatic conversion are enabled by default. Startup +0402 (`0402_empty_overlord.sql`). External writes and automatic conversion are enabled by default. Startup restores pending work from indexed `migration_at` / `maintenance_at` columns. The shared delivery coordinator converts four snapshots and four versions per batch, reading one legacy body at a time. It verifies the hash, uploads, reads the objects diff --git a/packages/db/src/migrations/0401_icy_sister_grimm.sql b/packages/db/src/migrations/0402_empty_overlord.sql similarity index 100% rename from packages/db/src/migrations/0401_icy_sister_grimm.sql rename to packages/db/src/migrations/0402_empty_overlord.sql