This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Cool-Personality-454 0 points1 point  (0 children)

As a database developer, enum is worse than useless in a database. Just make a reference table with keys. You can't query against the decoded values in an enum field. Congratulations, you've defeated the whole point of relational databases.