<?xml version="1.0" encoding="UTF-8"?><database name="buildrhythm" schema="public" type="PostgreSQL - 18.4 (Ubuntu 18.4-1.pgdg24.04+1)">
   <sequences>
      <sequence increment="1" name="build_audit_id_seq" startValue="1"/>
      <sequence increment="1" name="build_files_id_seq" startValue="1"/>
   </sequences>
   <tables>
      <table name="_migrations" remarks="{&quot;what&quot;:&quot;Tracks applied database migrations for schema versioning.&quot;,&quot;why&quot;:&quot;Without it, migrations could be re-run or skipped, corrupting schema state.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:01.529375473+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="name" nullable="false" remarks="{&quot;what&quot;:&quot;Unique migration identifier, typically a version or filename.&quot;,&quot;why&quot;:&quot;Without it, applied migrations cannot be distinguished, causing duplicate or missing changes.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:01.557091282+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <child column="binary_name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="builds"/>
            <child column="binary_name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="deployments"/>
         </column>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="1" name="applied_at" nullable="true" remarks="{&quot;what&quot;:&quot;UTC timestamp when the migration was executed.&quot;,&quot;why&quot;:&quot;Without it, the order and timing of schema changes is unknown, complicating rollbacks and audits.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:01.573525061+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="name" sequenceNumberInPK="1"/>
         <index name="_migrations_pkey" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="build_audit" remarks="{&quot;what&quot;:&quot;Audit trail of build steps, one row per step execution.&quot;,&quot;why&quot;:&quot;Without it, no record of build activity for debugging or compliance.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:21:02.053489036+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('build_audit_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique numeric identifier for each audit row.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be referenced or updated individually.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:21:02.100679182+00:00&quot;}" size="19" type="bigserial" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="build_id" nullable="false" remarks="{&quot;what&quot;:&quot;Identifier of the build this step belongs to, e.g. a UUID or CI job ID.&quot;,&quot;why&quot;:&quot;Without it, steps cannot be grouped into a single build's timeline.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:21:02.198883564+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="deploy_id" nullable="true" remarks="{&quot;what&quot;:&quot;Identifier of the deployment triggered by this build, if any.&quot;,&quot;why&quot;:&quot;Without it, linking a build to its deployment is impossible when present.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:21:02.232396625+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="device" nullable="true" remarks="{&quot;what&quot;:&quot;Target device or platform the build ran on, e.g. 'ios' or 'android'.&quot;,&quot;why&quot;:&quot;Without it, build behavior across devices cannot be compared.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:21:02.311074413+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="step" nullable="false" remarks="{&quot;what&quot;:&quot;Step label such as 'compile', 'test', or 'upload'.&quot;,&quot;why&quot;:&quot;Without it, the sequence of actions in a build is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:21:02.340805741+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="started_at" nullable="false" remarks="{&quot;what&quot;:&quot;ISO 8601 timestamp when the step started.&quot;,&quot;why&quot;:&quot;Without it, step duration and ordering cannot be computed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:21:02.354152978+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="finished_at" nullable="true" remarks="{&quot;what&quot;:&quot;ISO 8601 timestamp when the step finished, null if still running.&quot;,&quot;why&quot;:&quot;Without it, step completion and duration are unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:21:02.409306963+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="status" nullable="false" remarks="{&quot;what&quot;:&quot;Outcome of the step, e.g. 'success', 'failure', 'running'.&quot;,&quot;why&quot;:&quot;Without it, build health and failure points cannot be identified.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:21:02.487833214+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="request_json" nullable="true" remarks="{&quot;what&quot;:&quot;JSON payload of the request sent for this step, if any.&quot;,&quot;why&quot;:&quot;Without it, the exact input to the step is lost for replay or debugging.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:21:02.512686261+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="response_json" nullable="true" remarks="{&quot;what&quot;:&quot;JSON payload of the response received from the step, if any.&quot;,&quot;why&quot;:&quot;Without it, the step's output cannot be verified or audited.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:21:02.579485621+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="metadata_json" nullable="true" remarks="{&quot;what&quot;:&quot;Arbitrary JSON metadata attached to the step, e.g. environment variables.&quot;,&quot;why&quot;:&quot;Without it, contextual details that may explain step behavior are missing.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:21:02.622818930+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="build_audit_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_audit_build" unique="false">
            <column ascending="true" name="build_id"/>
         </index>
         <index name="idx_audit_step" unique="false">
            <column ascending="true" name="step"/>
         </index>
      </table>
      <table name="build_files" remarks="{&quot;what&quot;:&quot;One row per file discovered in a build, with content hash and scan metadata.&quot;,&quot;why&quot;:&quot;Without it, you cannot know which files were present in a build or verify their integrity.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:16.035712972+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('build_files_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique numeric identifier for each file record.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be uniquely referenced or updated.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:16.072410481+00:00&quot;}" size="19" type="bigserial" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="build_id" nullable="false" remarks="{&quot;what&quot;:&quot;Build identifier (e.g., CI run ID) that groups files from one build.&quot;,&quot;why&quot;:&quot;Without it, files from different builds would be indistinguishable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:16.086323156+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="file_path" nullable="false" remarks="{&quot;what&quot;:&quot;Absolute or relative path within the build.&quot;,&quot;why&quot;:&quot;Without it, you cannot locate the file or compare paths across builds.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:16.099778780+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="file_hash" nullable="false" remarks="{&quot;what&quot;:&quot;Hash of file contents (e.g., SHA-256) used for integrity checks.&quot;,&quot;why&quot;:&quot;Without it, you cannot detect content changes or duplicates.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:16.112745575+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="language" nullable="false" remarks="{&quot;what&quot;:&quot;Programming language such as Python or Go.&quot;,&quot;why&quot;:&quot;Without it, you cannot filter files by language for analysis.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:16.127461379+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="size_bytes" nullable="false" remarks="{&quot;what&quot;:&quot;Numeric size of the file in bytes; zero if unknown.&quot;,&quot;why&quot;:&quot;Without it, you cannot estimate storage or detect empty files.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:16.141244381+00:00&quot;}" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="source_device" nullable="false" remarks="{&quot;what&quot;:&quot;Device or hostname where the file was scanned.&quot;,&quot;why&quot;:&quot;Without it, you cannot trace which machine produced the file.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:16.154385937+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="(now())::text" digits="0" id="7" name="scanned_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp of scan, stored as text in ISO format.&quot;,&quot;why&quot;:&quot;Without it, you cannot know when the file was collected.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:16.179394153+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="build_files_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_build_files_build" unique="false">
            <column ascending="true" name="build_id"/>
         </index>
         <index name="idx_build_files_path" unique="false">
            <column ascending="true" name="file_path"/>
         </index>
      </table>
      <table name="builds" remarks="{&quot;what&quot;:&quot;A build attempt: one row per execution of a build pipeline.&quot;,&quot;why&quot;:&quot;Without it, there is no trace of build history or artifact provenance.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.189428199+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique identifier for the build, e.g., UUID.&quot;,&quot;why&quot;:&quot;Without it, builds cannot be referenced or linked to other records.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.230469408+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="repo" nullable="false" remarks="{&quot;what&quot;:&quot;Repository identifier such as 'owner/name'.&quot;,&quot;why&quot;:&quot;Without it, builds cannot be grouped per repository.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.242329975+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="profile" nullable="false" remarks="{&quot;what&quot;:&quot;Build profile name, e.g., 'release' or 'debug'.&quot;,&quot;why&quot;:&quot;Without it, different build configurations become indistinguishable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.263849361+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="language" nullable="false" remarks="{&quot;what&quot;:&quot;Primary programming language, e.g., 'Go'.&quot;,&quot;why&quot;:&quot;Without it, language-specific tooling or metrics cannot be applied.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.298897457+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="target" nullable="true" remarks="{&quot;what&quot;:&quot;Target platform or architecture, e.g., 'linux/amd64'.&quot;,&quot;why&quot;:&quot;Without it, cross-compilation targets are unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.321189439+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="device" nullable="false" remarks="{&quot;what&quot;:&quot;Device model the build targets, e.g., 'rpi4'.&quot;,&quot;why&quot;:&quot;Without it, device-specific builds cannot be filtered.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.339438824+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'queued'::text" digits="0" id="6" name="status" nullable="false" remarks="{&quot;what&quot;:&quot;Current state: queued, running, succeeded, failed, etc.&quot;,&quot;why&quot;:&quot;Without it, build progress and failures cannot be tracked.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.388633721+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="backend" nullable="true" remarks="{&quot;what&quot;:&quot;Build backend or CI system, e.g., 'github-actions'.&quot;,&quot;why&quot;:&quot;Without it, backend-specific error handling is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.399732809+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="backend_build_id" nullable="true" remarks="{&quot;what&quot;:&quot;Identifier of the build in the backend system.&quot;,&quot;why&quot;:&quot;Without it, cannot correlate with backend logs.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.410900608+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="binary_name" nullable="true" remarks="{&quot;what&quot;:&quot;Name of the produced binary file, e.g., 'app'.&quot;,&quot;why&quot;:&quot;Without it, artifact identification is ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.422092508+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="_migrations"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="binary_path" nullable="true" remarks="{&quot;what&quot;:&quot;Path to the binary within the artifact or workspace.&quot;,&quot;why&quot;:&quot;Without it, artifact location is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.445362679+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="binary_hash" nullable="true" remarks="{&quot;what&quot;:&quot;Hash of the binary, e.g., SHA256 hex.&quot;,&quot;why&quot;:&quot;Without it, binary integrity cannot be verified.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.485747824+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="artifact_size_bytes" nullable="true" remarks="{&quot;what&quot;:&quot;Size of the artifact in bytes.&quot;,&quot;why&quot;:&quot;Without it, storage costs and download sizes are unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.503379905+00:00&quot;}" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="version" nullable="true" remarks="{&quot;what&quot;:&quot;Version string of the build, e.g., '1.2.3'.&quot;,&quot;why&quot;:&quot;Without it, release versioning is ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.531993069+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="error" nullable="true" remarks="{&quot;what&quot;:&quot;Error message if the build failed.&quot;,&quot;why&quot;:&quot;Without it, failure cause is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.546797532+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="started_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when build started, ISO 8601.&quot;,&quot;why&quot;:&quot;Without it, build duration cannot be computed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.611570855+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="finished_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when build finished, ISO 8601.&quot;,&quot;why&quot;:&quot;Without it, completion time is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.649015710+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="17" name="duration_secs" nullable="true" remarks="{&quot;what&quot;:&quot;Build duration in seconds.&quot;,&quot;why&quot;:&quot;Without it, performance trends cannot be analyzed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.691765301+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="(now())::text" digits="0" id="18" name="created_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp when build record was created, ISO 8601.&quot;,&quot;why&quot;:&quot;Without it, record ordering is ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.703628501+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="19" name="failed_step" nullable="true" remarks="{&quot;what&quot;:&quot;Name of the build step that failed, e.g., 'compile'.&quot;,&quot;why&quot;:&quot;Without it, failure point is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.726179900+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="20" name="failed_reason" nullable="true" remarks="{&quot;what&quot;:&quot;Reason for failure, e.g., 'timeout'.&quot;,&quot;why&quot;:&quot;Without it, failure cause is not actionable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:38.773822631+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="builds_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_builds_created" unique="false">
            <column ascending="true" name="created_at"/>
         </index>
         <index name="idx_builds_device" unique="false">
            <column ascending="true" name="device"/>
         </index>
         <index name="idx_builds_repo" unique="false">
            <column ascending="true" name="repo"/>
         </index>
         <index name="idx_builds_status" unique="false">
            <column ascending="true" name="status"/>
         </index>
      </table>
      <table name="deployments" remarks="" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique identifier for this deployment record.&quot;,&quot;why&quot;:&quot;Without it, there is no stable key to reference a deployment for status updates or cancellation.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:21.663265827+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="build_id" nullable="false" remarks="{&quot;what&quot;:&quot;Identifier of the build that produced the binary.&quot;,&quot;why&quot;:&quot;Without it, you cannot trace which source code version or CI job generated the deployed binary.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:21.695098278+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="repo" nullable="false" remarks="{&quot;what&quot;:&quot;Source repository name (e.g., 'org/repo') for the build.&quot;,&quot;why&quot;:&quot;Without it, you cannot know which codebase the binary came from for debugging or rollback.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:21.733926986+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="device" nullable="false" remarks="{&quot;what&quot;:&quot;Target device identifier (e.g., serial or hostname) for the deployment.&quot;,&quot;why&quot;:&quot;Without it, you cannot know which device received the binary or target it for retries.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:21.797741403+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="target_triple" nullable="false" remarks="{&quot;what&quot;:&quot;Target platform triple (e.g., 'x86_64-unknown-linux-gnu') for the binary.&quot;,&quot;why&quot;:&quot;Without it, you cannot verify the binary matches the device architecture or OS.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:21.920460451+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="binary_name" nullable="false" remarks="{&quot;what&quot;:&quot;Name of the deployed binary file (e.g., 'myapp').&quot;,&quot;why&quot;:&quot;Without it, you cannot identify which executable was deployed or construct its path.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:21.957189184+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="name" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="_migrations"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="binary_hash" nullable="true" remarks="{&quot;what&quot;:&quot;Content hash of the binary, used to verify integrity.&quot;,&quot;why&quot;:&quot;Without it, you cannot detect corrupted or tampered binaries after deployment.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:21.972595854+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="binary_path" nullable="true" remarks="{&quot;what&quot;:&quot;Filesystem path where the binary was placed on the device.&quot;,&quot;why&quot;:&quot;Without it, you cannot locate the binary on the device for updates or removal.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:21.996568019+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'pending'::text" digits="0" id="8" name="status" nullable="false" remarks="{&quot;what&quot;:&quot;Deployment lifecycle state, defaulting to 'pending'.&quot;,&quot;why&quot;:&quot;Without it, you cannot know if a deployment is in progress, succeeded, or failed, or filter on it.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:22.030472233+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="9" name="stale_pids_killed" nullable="true" remarks="{&quot;what&quot;:&quot;Number of stale process IDs killed before deployment.&quot;,&quot;why&quot;:&quot;Without it, you cannot know if old processes were cleaned up, which affects rollback decisions.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:22.069517306+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="10" name="codesigned" nullable="true" remarks="{&quot;what&quot;:&quot;Flag (0 or 1) indicating whether the binary was code-signed.&quot;,&quot;why&quot;:&quot;Without it, you cannot know if the binary passed signing checks, which may be required for execution.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:22.100355978+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="error" nullable="true" remarks="{&quot;what&quot;:&quot;Error message from a failed deployment, if any.&quot;,&quot;why&quot;:&quot;Without it, you cannot diagnose why a deployment failed or report it to users.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:22.112084950+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="started_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp (text) when the deployment started.&quot;,&quot;why&quot;:&quot;Without it, you cannot measure deployment duration or detect stuck deployments.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:22.127519019+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="finished_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp (text) when the deployment finished.&quot;,&quot;why&quot;:&quot;Without it, you cannot compute duration or know if a deployment is still running.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:22.141954819+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="(now())::text" digits="0" id="14" name="created_at" nullable="false" remarks="{&quot;what&quot;:&quot;Creation timestamp of this record, set to now() by default.&quot;,&quot;why&quot;:&quot;Without it, you cannot order deployments by creation time or audit when they were initiated.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:22.154630631+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="deployments_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_deployments_build" unique="false">
            <column ascending="true" name="build_id"/>
         </index>
         <index name="idx_deployments_device" unique="false">
            <column ascending="true" name="device"/>
         </index>
      </table>
      <table name="preflight_runs" remarks="{&quot;what&quot;:&quot;Records of preflight checks for service builds before deployment.&quot;,&quot;why&quot;:&quot;Without it, no audit trail of preflight attempts and outcomes.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:36.754098584+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique numeric identifier for each preflight run.&quot;,&quot;why&quot;:&quot;Without it, runs cannot be uniquely referenced for updates or joins.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:36.777680968+00:00&quot;}" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="build_id" nullable="false" remarks="{&quot;what&quot;:&quot;External build identifier from CI, e.g. Jenkins build number.&quot;,&quot;why&quot;:&quot;Without it, cannot correlate a run to the originating build.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:36.793194070+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="service" nullable="false" remarks="{&quot;what&quot;:&quot;Name of the service being preflighted, e.g. 'api'.&quot;,&quot;why&quot;:&quot;Without it, runs from different services are indistinguishable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:36.815644983+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'building'::text" digits="0" id="3" name="phase" nullable="false" remarks="{&quot;what&quot;:&quot;Current stage of the run: building, signing, verifying, etc.&quot;,&quot;why&quot;:&quot;Without it, cannot know which step a run is in or resume after failure.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:36.842855186+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="binary_path" nullable="true" remarks="{&quot;what&quot;:&quot;Filesystem path to the built binary artifact.&quot;,&quot;why&quot;:&quot;Without it, the artifact cannot be located for signing or deployment.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:36.859497035+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="signed_path" nullable="true" remarks="{&quot;what&quot;:&quot;Filesystem path to the signed binary after signing.&quot;,&quot;why&quot;:&quot;Without it, the signed artifact cannot be found for deployment.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:36.884948570+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="signed_identifier" nullable="true" remarks="{&quot;what&quot;:&quot;Identifier of the signed artifact, e.g. UUID or signing cert serial.&quot;,&quot;why&quot;:&quot;Without it, the signed version cannot be traced back to its signature.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:36.918231722+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="binary_hash" nullable="true" remarks="{&quot;what&quot;:&quot;SHA-256 hash of the binary content.&quot;,&quot;why&quot;:&quot;Without it, integrity of the artifact cannot be verified.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:36.986678354+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="version" nullable="true" remarks="{&quot;what&quot;:&quot;Semantic version string of the service being preflighted.&quot;,&quot;why&quot;:&quot;Without it, cannot map a run to a release version.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:37.006874755+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="mac0_verdict" nullable="true" remarks="{&quot;what&quot;:&quot;Verdict from macOS 0 verification, e.g. 'pass' or 'fail'.&quot;,&quot;why&quot;:&quot;Without it, the outcome of the first macOS check is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:37.020574342+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="10" name="mac1_deployed" nullable="false" remarks="{&quot;what&quot;:&quot;Whether the artifact was deployed to the second macOS environment.&quot;,&quot;why&quot;:&quot;Without it, cannot know if the deployment step completed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:37.033730459+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="preflight_id" nullable="true" remarks="{&quot;what&quot;:&quot;External preflight request identifier from the orchestrator.&quot;,&quot;why&quot;:&quot;Without it, cannot correlate this run to the orchestrator's request.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:37.066551720+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="rollback_snapshot" nullable="true" remarks="{&quot;what&quot;:&quot;JSON snapshot of the previous state for rollback.&quot;,&quot;why&quot;:&quot;Without it, a failed deployment cannot be reverted to the prior state.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:37.077627346+00:00&quot;}" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="error" nullable="true" remarks="{&quot;what&quot;:&quot;Error message if the run failed.&quot;,&quot;why&quot;:&quot;Without it, failure reasons are lost and debugging is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:37.098214498+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="callback_url" nullable="true" remarks="{&quot;what&quot;:&quot;URL to notify when the run finishes.&quot;,&quot;why&quot;:&quot;Without it, the caller cannot be informed of completion asynchronously.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:37.127155333+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="15" name="created_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp when the run was created.&quot;,&quot;why&quot;:&quot;Without it, cannot order runs or compute age.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:37.139618940+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="16" name="updated_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp of the last update to the run.&quot;,&quot;why&quot;:&quot;Without it, cannot detect stale runs or track progress.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:37.160647425+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="17" name="finished_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when the run finished, null if still running.&quot;,&quot;why&quot;:&quot;Without it, cannot compute duration or know if run completed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:12:37.175121698+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="preflight_runs_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_preflight_runs_phase" unique="false">
            <column ascending="true" name="phase"/>
         </index>
         <index name="idx_preflight_runs_service" unique="false">
            <column ascending="true" name="service"/>
            <column ascending="false" name="created_at"/>
         </index>
         <index name="preflight_runs_build_id_key" unique="true">
            <column ascending="true" name="build_id"/>
         </index>
      </table>
      <table name="preflight_transitions" remarks="{&quot;what&quot;:&quot;Chronological log of phase changes for preflight builds.&quot;,&quot;why&quot;:&quot;Without it, there is no record of how a build moved through preflight phases, so debugging and auditing become impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:15.844593907+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique numeric identifier for each transition row.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be uniquely referenced, breaking foreign keys and deduplication.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:15.861946079+00:00&quot;}" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="build_id" nullable="false" remarks="{&quot;what&quot;:&quot;Identifier of the build that changed phase; format is opaque text.&quot;,&quot;why&quot;:&quot;Without it, transitions cannot be attributed to a specific build, so per-build history is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:15.876100838+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="from_phase" nullable="false" remarks="{&quot;what&quot;:&quot;Text label of the phase the build was in before the change.&quot;,&quot;why&quot;:&quot;Without it, the previous state is unknown, so the transition cannot be reconstructed or validated.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:15.886720196+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="to_phase" nullable="false" remarks="{&quot;what&quot;:&quot;Text label of the phase the build entered after the change.&quot;,&quot;why&quot;:&quot;Without it, the new state is unknown, so the transition's outcome is ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:15.915128050+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="detail" nullable="true" remarks="{&quot;what&quot;:&quot;Optional JSON object with additional transition-specific data; schema not enforced.&quot;,&quot;why&quot;:&quot;Without it, any extra context (e.g., failure reason, timing details) is lost, making debugging harder.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:15.935612211+00:00&quot;}" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="5" name="transitioned_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp with time zone of the transition event; defaults to current time.&quot;,&quot;why&quot;:&quot;Without it, the order of transitions is unknown, so the sequence of phases cannot be reconstructed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:15.954012869+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="preflight_transitions_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_preflight_transitions_build" unique="false">
            <column ascending="true" name="build_id"/>
            <column ascending="true" name="transitioned_at"/>
         </index>
      </table>
      <table name="smoke_tests" remarks="{&quot;what&quot;:&quot;One row per smoke test run for a build.&quot;,&quot;why&quot;:&quot;Without it, there is no record of which builds passed basic smoke tests.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:27.928448673+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique opaque key for this smoke test record.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be referenced or updated individually.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:27.944587750+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="build_id" nullable="false" remarks="{&quot;what&quot;:&quot;Identifier of the build this test ran against.&quot;,&quot;why&quot;:&quot;Without it, test results cannot be linked to a specific build.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:27.956112924+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="repo" nullable="false" remarks="{&quot;what&quot;:&quot;Repository name (e.g., 'org/repo') that the build belongs to.&quot;,&quot;why&quot;:&quot;Without it, results cannot be grouped by repository.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:27.968312067+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="phase" nullable="false" remarks="{&quot;what&quot;:&quot;Pipeline phase in which the smoke test ran.&quot;,&quot;why&quot;:&quot;Without it, it is unclear which stage the test result applies to.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:27.983566985+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="verdict" nullable="false" remarks="{&quot;what&quot;:&quot;Outcome of the test, e.g., 'pass' or 'fail'.&quot;,&quot;why&quot;:&quot;Without it, the success or failure of the test is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:27.997838811+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="issues_json" nullable="true" remarks="{&quot;what&quot;:&quot;JSON array of issue objects found during the test.&quot;,&quot;why&quot;:&quot;Without it, failure details cannot be inspected.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:28.017232298+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="summary" nullable="true" remarks="{&quot;what&quot;:&quot;Human-readable summary of the test result.&quot;,&quot;why&quot;:&quot;Without it, users cannot see a concise result without parsing JSON.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:28.038039841+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="callback_url" nullable="true" remarks="{&quot;what&quot;:&quot;URL to notify when the test completes.&quot;,&quot;why&quot;:&quot;Without it, external systems cannot be notified of completion.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:28.097491828+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="8" name="callback_sent" nullable="true" remarks="{&quot;what&quot;:&quot;Flag (0 or 1) indicating whether the callback was sent.&quot;,&quot;why&quot;:&quot;Without it, it is unknown if the callback was already delivered, risking duplicate notifications.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:28.109040523+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="(now())::text" digits="0" id="9" name="created_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp of when the record was created, as text.&quot;,&quot;why&quot;:&quot;Without it, the order and age of test runs cannot be determined.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:13:28.130580933+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="smoke_tests_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_smoke_repo" unique="false">
            <column ascending="true" name="repo"/>
         </index>
      </table>
   </tables>
</database>
