User Roles: Many Fields in Users, or Separate Tables?

テクノロジー



Today I’m answering one question from the comments, with a demo example. In my experience, it’s no big deal to have 10-20 extra fields in the Users table. What is your experience?

Repository: https://github.com/LaravelDaily/Laravel-Users-Admin-Doctor-Patient
Eloquent Local Scopes: https://laravel.com/docs/8.x/eloquent#local-scopes

– – – – –
Support the channel by checking out our products:
– Enroll in my Laravel courses: https://laraveldaily.teachable.com
– Try our Laravel QuickAdminPanel: https://bit.ly/quickadminpanel
– Purchase my Livewire Kit: https://livewirekit.com
– View Laravel Code Examples: https://laravelexamples.com
– Subscribe to my weekly newsletter: http://bit.ly/laravel-newsletter

Comments

Copied title and URL