φ(ai) PHI AI

← Components

Migration ledger

State, schema, secrets · schema files. On a deployment this row is a control; the demo shows the row with the reading its source supports.

Evidence

Running
35 schema files, all in the ledger (schema_migrations, core/db/components_schema.sql)
Built
27 in core/db, 8 in www-demo/sql; DDL held by no application role
Latest known
35 files, checksums as committed
Source
core/db/*.sql, www-demo/sql/*.sql
Checked
2 hours ago
Cadence
none — on demand
Mode
guided
State
current
Backup unit
pg_dump of the affected schemas, taken by the updater before the up.
Recovery
Run the down; restore the dump if the down cannot.

The five steps

Plan, back up, apply, verify, recover — in guided mode. On a deployment each step runs, is verified and lands on the audit trail; every component on the demo is current, so every step reads done.

  1. ✓ done Plan The SQL that will run, its checksum, whether it ships a down, and the schemas it touches; the admin confirms and, for direct mode, enters the DDL credential for this job only.
  2. ✓ done Back up The updater takes pg_dump of the affected schemas to system/backups/ and records the checksum; no verified dump, no apply.
  3. ✓ done Apply Direct with the moment-of-use credential when a down exists; otherwise the screen shows the exact SQL and the admin runs it.
  4. ✓ done Verify information_schema shows the column or table, the ledger row is written with the checksum, and the healthcheck is green.
  5. ✓ done Recover Run the down; if there is none, restore the dump; verify again.

Every row behind this reading (35)

TreeFileTablesBytesSHA-256Ledger
core/dbbootstrap_aws.sqlnone10,71395405119492dapplied
core/dbbootstrap_azure.sqlnone8,80429170fafa4dbapplied
core/dbbootstrap_gcp.sqlnone7,467d3003afb9cb4applied
core/dbcomponents_schema.sqlplatform_backups, platform_component_acks, platform_releases, platform_update_steps, platform_updates, schema_migrations4,8328301d6fb8670applied
core/dbidentity_schema.sqlidentity.patient_identity6,0908155bc1c449eapplied
core/dbimaging_schema.sqldicom_instances, dicom_series, dicom_studies5,776947f2eeb58f8applied
core/dbomop_bootstrap_aws.sqlnone18,110335291ed0e30applied
core/dbomop_bootstrap_azure.sqlnone11,627e26452930403applied
core/dbomop_bootstrap_gcp.sqlnone11,98503125e42653aapplied
core/dbomop_schema.sqlcdm.care_site, cdm.condition_occurrence, cdm.drug_exposure, cdm.measurement, cdm.observation, cdm.person, cdm.procedure_occurrence, cdm.visit_occurrence24,257f5128266f57fapplied
core/dbomop_vocab_schema.sqlvocab.concept3,324af31ff60a225applied
core/dbplatform_state_schema.sqlplatform_config, platform_consents, platform_crosswalk, platform_exchanges, platform_links, platform_models, platform_orch_runs, platform_orchestration3,6563a05c5add24bapplied
core/dbprompts_schema.sqlassistant_prompts2,313ea09144e30e6applied
core/dbretrieval_bootstrap_aws.sqlnone4,11077e49a73ddffapplied
core/dbretrieval_bootstrap_azure.sqlnone3,0504ad117917838applied
core/dbretrieval_bootstrap_gcp.sqlnone2,728ed8e744a043dapplied
core/dbretrieval_schema.sqlretrieval.clinical_text, retrieval.psychotherapy_text6,00822efc7d9e547applied
core/dbschema.sqlindex_state, roi_requests, stored_resources9,22865894c37604eapplied
core/dbschema_partitioned.sqlindex_state, roi_requests, stored_resources, stored_resources_adverseevent, stored_resources_allergyintolerance, stored_resources_condition, stored_resources_consent, stored_resources_default, stored_resources_diagnosticreport, stored_resources_documentreference, stored_resources_encounter, stored_resources_explanationofbenefit, stored_resources_immunization, stored_resources_medicationadministration, stored_resources_medicationrequest, stored_resources_observation, stored_resources_patient, stored_resources_procedure, stored_resources_servicerequest11,863d6e8c2f07d89applied
core/dbtelemetry_bootstrap_aws.sqlnone1,200b5730eb35813applied
core/dbtelemetry_bootstrap_azure.sqlnone1,005e45bcd496552applied
core/dbtelemetry_bootstrap_gcp.sqlnone95322b678a0bb64applied
core/dbtelemetry_schema.sqlaiops.assistant_feedback, aiops.assistant_interactions4,1264b6bc2fa82f3applied
core/dbusers_bootstrap_aws.sqlnone4,57169d8a285abebapplied
core/dbusers_bootstrap_azure.sqlnone3,90824f014a880e7applied
core/dbusers_bootstrap_gcp.sqlnone4,4122ac98f02b44bapplied
core/dbusers_schema.sqlauthn.local_sessions, authn.local_user_roles, authn.local_users10,2243d9561a20af7applied
www-demo/sql2026-09-02_answer_text.sqlnone476ee824fac718dapplied
www-demo/sql2026-09-07_metrics.sqlweb_eval_rubric, web_eval_score5,78455ef397d2c66applied
www-demo/sqlanalytics.sqlweb_ai_calls, web_analytics_meta, web_events, web_pageviews, web_sessions12,354ba7af4bfa62aapplied
www-demo/sqlanalytics_views.sqlnone11,1928ea48d4516a3applied
www-demo/sqlpatch_admin_fees.sqlnone1,79723d2a3ff9d36applied
www-demo/sqlpatch_models_dedupe.sqlnone1,397997b125de878applied
www-demo/sqlschema.sqlallergies, audit_log, bulk_exports, bulk_runs, claim_lines, claims, conditions, demo_config, documents, encounters, imaging_studies, immunizations, medications, model_alerts, models, observations, patients, procedures, prompts, psychotherapy_notes, roi_requests, signature_drafts, stream_exports, stream_partitions15,334a35996740b32applied
www-demo/sqlseed.sqlmodel_alerts, models21,422,7619e893c426f2capplied

History

Applies and recoveries of this row, from the update journal. On a deployment every apply and every recovery lands here as it completes.

No apply or recovery recorded for this row. The demo's journal holds one completed update, of Running image.

Acknowledge: keep as is until <date> because <reason> — on a deployment this line is a form, audited as system.component_acknowledged; the demo shows the words.

← Back to Components