sorentwo / oban

💎 Robust job processing in Elixir, backed by modern PostgreSQL and SQLite3

Home Page:https://getoban.pro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question - Customizing Table Name

ryanpager opened this issue · comments

So I've spent a few hours looking through the code, and looking through the config options. Maybe I'm struggling a bit here -- but is there a way to customize the table name for oban? If not, its not the end of the world, but Id rather not schema prefix it if possible.

No, there isn't any way to customize the table name(s). The Ecto schemas expect tables named oban_jobs and oban_peers. If you need multiple distinct tables then you must use separate prefixes.