FilamentF
Filamentβ€’3y ago
Chriis

Custom User model

Hi, I need to add some columns to the classic Laravel User model, but it make the filament-user creation fail (because obviously the information for my columns are not asked in the artisan command).

So what can I do in this case ? I see a lot of projects where the User(s) model/table is not really used, and another table for some specific users (app-related) is created. For example a Owner table is created and the Resource for "users" is a OwnerResource. Is it the way to do it ? Only using the classic Laravel User model for the filament-user and having the app users in a more precise user model (Owners, Teachers, ...).

Help would be very appreciated πŸ™‚
Was this page helpful?