H
H
Henry2020-03-25 18:28:18
Database design
Henry, 2020-03-25 18:28:18

Do you use ENUM and SET types in the database?

1. Do you use ENUM and SET types in your database?
2. If not, why not? How do you prohibit the use in projects (settings, indication, ...)?
Reasons for abandoning ENUM .
I ran into the problem of supporting these types in Doctrine and some libraries. And I looked at it in a new way, if it's just text, then constants can be defined at the model level, and at least stored in the database INT.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question