Myvideo

Guest

Login

Laravel: ENUM or INT with Foreign Key

Uploaded By: Myvideo
15 views
0
0 votes
0

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://

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later