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://
15 views
155
52
1 year ago 00:05:32 4
PHP Enum for Laravel User Roles: Why and How?
3 months ago 00:08:53 1
Eloquent Where ENUM vs Int Foreign Key: Speed Benchmark
4 years ago 00:07:49 15
Laravel: ENUM or INT with Foreign Key?
1 year ago 00:03:20 5
PHP Enum Class in Laravel: Extra Custom Methods
3 years ago 00:09:36 11
Enum PHP 8.1 Classes in Laravel: Practical Example
7 months ago 00:03:30 5
PHP Enums in Laravel: Practical Example from Package
11 months ago 00:04:09 8
Laravel 9/10: 7 Improvements Around ENUMs
1 year ago 00:05:50 5
Enums in Laravel: Example of “Heavy“ Usage
6 months ago 00:07:26 1
Re-hashed Passwords, Improved Enum Support & Context
2 years ago 00:14:57 9
Laravel 9.0: что нового? Часть 2: enums для routes и моделей Eloquent
1 year ago 00:34:44 16
Laravel app can’t possibly be THIS good... [Free course: Great Laravel Apps #2]
6 months ago 00:04:00 4
Laravel 11: Four New Artisan make:xxxxx Commands
3 years ago 00:44:19 17
Laravel 9 - Everything You Need to Know (In 45 Minutes)
4 years ago 00:21:12 29
New Laravel DayByDayCRM: Code Review with 10+ Lessons