<?xml version="1.0" encoding="UTF-8"?><database name="comfyrhythm" schema="public" type="PostgreSQL - 18.4 (Ubuntu 18.4-1.pgdg24.04+1)">
   <tables>
      <table name="generations" remarks="{&quot;what&quot;:&quot;One row per AI generation attempt, keyed by prompt_id.&quot;,&quot;why&quot;:&quot;Without it, no history exists of which prompt produced which output or failed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.104901689+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="prompt_id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique text ID of the originating prompt; primary key.&quot;,&quot;why&quot;:&quot;Without it, generations cannot be uniquely referenced or linked to their prompt.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.136864775+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="1" name="timestamp" nullable="true" remarks="{&quot;what&quot;:&quot;Unix epoch time in seconds (with fractional part) when the generation was recorded.&quot;,&quot;why&quot;:&quot;Without it, the order and timing of generations is unknown, making debugging and rate limiting impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.154006052+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="template" nullable="true" remarks="{&quot;what&quot;:&quot;The prompt template text that was filled with params to produce the prompt.&quot;,&quot;why&quot;:&quot;Without it, you cannot reproduce the exact prompt or understand how params were applied.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.171801342+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="params" nullable="true" remarks="{&quot;what&quot;:&quot;JSON-encoded parameters substituted into the template for this generation.&quot;,&quot;why&quot;:&quot;Without it, the specific inputs that produced the output are lost, preventing reproducibility.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.204991534+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="status" nullable="true" remarks="{&quot;what&quot;:&quot;Outcome status of the generation, e.g., 'success' or 'error'.&quot;,&quot;why&quot;:&quot;Without it, you cannot filter successful vs failed generations for monitoring or retries.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.246618310+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="outputs" nullable="true" remarks="{&quot;what&quot;:&quot;JSON-encoded output(s) produced by the generation, if any.&quot;,&quot;why&quot;:&quot;Without it, the generated content is unavailable for downstream use or inspection.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.263695185+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="6" name="duration_ms" nullable="true" remarks="{&quot;what&quot;:&quot;Elapsed time of the generation in milliseconds.&quot;,&quot;why&quot;:&quot;Without it, performance issues cannot be identified or compared across generations.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.282170646+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="error" nullable="true" remarks="{&quot;what&quot;:&quot;Error message or stack trace if the generation failed; null on success.&quot;,&quot;why&quot;:&quot;Without it, the cause of failures is unknown, making debugging impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:17:14.305358244+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="prompt_id" sequenceNumberInPK="1"/>
         <index name="generations_pkey" unique="true">
            <column ascending="true" name="prompt_id"/>
         </index>
      </table>
   </tables>
</database>
