Use the new Enum type in Ecto 3.5 Temple v0.6.0-rc.0 released!

Mutiny: Simple database immutability

Need database-level assurance that certain records are immutable—that is to say, unable to be UPDATEd once INSERTed? Mutiny is glad to oblige. https://newaperio.com/blog/mutiny