Laravel: ENUM or INT with Foreign Key?

If you have a field with a few value options, is it worth using ENUM, or is it better to have a “lookup table“ with a foreign key? In fact, there’s also a third option. Let’s review them all in this video. Related articles: - 8 Reasons Why MySQL’s ENUM Data Type Is Evil: - Enum Fields VS Varchar VS Int Joined table: What is Faster? - - - - - Try our Laravel QuickAdminPanel: https://
Back to Top