pulibrary/bibdata

Refactor `DumpType` to use configuration, not database

maxkadel opened this issue · 1 comments

What maintenance needs to be done?

Refactor DumpType to use only configuration, not database tables.

Level of urgency

  • High
  • Moderate
  • Low

Why is this maintenance needed?

Acceptance criteria

  • The code does not try to retrieve data from the DumpType table in Postgres
  • New and old events still have the correct "Dump Type" in the UI
  • Tests continue to pass
  • Make rollback as easy as possible (aka, don't immediately drop the table on first deploy without a plan for if something goes wrong)

Implementation notes, if any

Investígate changing DumpType to enum