We have seen many issues with the postgres database queries around DumpTypes, so trying putting them into an enum. The number in the database table should be the same whether it's a dump_type_id or the enum.
Enums come with some nice stuff for free, like scopes and booleans (e.g. dump.changed_records?).
We have seen many issues with the postgres database queries around DumpTypes, so trying putting them into an enum. The number in the database table should be the same whether it's a
dump_type_id
or the enum.Enums come with some nice stuff for free, like scopes and booleans (e.g.
dump.changed_records?
).Closes #2348