@startuml
title Before: Self-Healing Without DDL Audit Recording
skinparam backgroundColor #FAFAFA
skinparam componentStyle rectangle
skinparam defaultFontName Consolas

package "Startup" #E8F1FF {
  component "ensure_auth_schema_provisioned" as heal
  component "CREATE SCHEMA IF NOT EXISTS" as createSchema
  component "sql/provision.sql" as provision
}

database "PostgreSQL" as db

heal --> createSchema
createSchema --> db
heal --> provision
provision --> db

note bottom of heal
Missing schema/tables are repaired,
but no persistent DDL audit record is written.
end note
@enduml
