Cover the surface tables in storage-migrate's copy list
ci / vet-and-test (pull_request) Successful in 40s

Why: the copy-order coverage guard caught that backend PR #143's new tables (surfaces, surface_revisions, plugin_activation) were absent from the migration list - they would have been silently skipped on real migrations.

Evidence: TestCopyOrderCoversAllFixtureTables failed on the merged main and passes with the addition; full migrator suite green on SQLite and real PostgreSQL.

Impact: copyOrder list only; ordered after their referenced owners/projects.

Refs: backend PR #143; Dev U4 task.
This commit is contained in:
2026-10-11 08:32:45 +00:00
parent e3b1e0310e
commit 1d5672e4fe
+1
View File
@@ -290,6 +290,7 @@ var copyOrder = []string{
"memory_entries", "audit_events", "pending_confirms", "llm_usage_daily",
"secret_keys", "settings_snapshots", "regen_pending", "context_entries",
"user_commands", "pending_notices", "recovery_holds",
"surfaces", "surface_revisions", "plugin_activation",
}
const controlDDL = `