towerops/priv/repo
Graham McIntire b902480361 fix: add suspended state to oban_job_state enum (#199)
Oban 2.18+ introduced the 'suspended' job state for pausing jobs.
Oban.Met.Reporter queries for jobs in this state, causing errors when
the database enum doesn't include it:

  ERROR 22P02 (invalid_text_representation) invalid input value
  for enum oban_job_state: "suspended"

This migration adds 'suspended' to the oban_job_state enum type.

Required by recent Oban dependency updates (commit 0399b30d).

Note: Uses @disable_ddl_transaction since ALTER TYPE ADD VALUE cannot
run inside a transaction in PostgreSQL.

Reviewed-on: graham/towerops-web#199
2026-03-27 18:14:20 -05:00
..
migrations fix: add suspended state to oban_job_state enum (#199) 2026-03-27 18:14:20 -05:00
seeds.exs init 2025-12-21 11:10:43 -06:00
seeds_e2e.exs feat: create test organization in e2e seed script 2026-03-08 13:14:56 -05:00
structure.sql done i think (#177) 2026-03-26 10:23:26 -05:00