Skip to content

Commit

Permalink
feat!: make results column nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Nov 23, 2024
1 parent 85bef65 commit 11af66a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@
* `Snapshot::averageWaitTime()` now returns milliseconds instead of seconds.
* `Snapshot::averageHandlingTime()` now returns milliseconds instead of seconds.
* `Snapshot::averageProcessingTime()` now returns milliseconds instead of seconds.
* The `results` column in the `processed_messages` table is now nullable. Create
a migration to capture this change. This is to allow for a future feature where
result processing/storage can be disabled.
2 changes: 1 addition & 1 deletion config/doctrine/mapping/ProcessedMessage.orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
<field name="tags" column="tags" nullable="true" />
<field name="failureType" column="failure_type" nullable="true" />
<field name="failureMessage" column="failure_message" type="text" nullable="true" />
<field name="results" column="results" type="json" />
<field name="results" column="results" type="json" nullable="true" />
</mapped-superclass>
</doctrine-mapping>

0 comments on commit 11af66a

Please sign in to comment.