Databases · Middle · Question 70 of 75

What are trade-offs of using a PostgreSQL ENUM type for a status column?

Explanation

Adding enum values is easy; removing them requires recreating the type. A lookup table can also store extra data like labels or sort order.

Further reading

Problem with a question

Databases · Middle · question 70

Test yourself

Take the Databases · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz